Add an argument to ImageSource::createFrameAtIndex to hint a decoder that we expect...
[WebKit-https.git] / Source / WebCore / platform / graphics / cg / ImageSourceCG.cpp
index 65f2f8ff56752737bda032e7e517106262ee276c..dd05b1d315b1c039fe3ff393cedc315a40c7f870 100644 (file)
@@ -291,8 +291,10 @@ size_t ImageSource::frameCount() const
     return m_decoder ? CGImageSourceGetCount(m_decoder) : 0;
 }
 
-CGImageRef ImageSource::createFrameAtIndex(size_t index)
+CGImageRef ImageSource::createFrameAtIndex(size_t index, float* scale)
 {
+    UNUSED_PARAM(scale);
+
     if (!initialized())
         return 0;