Add an argument to ImageSource::createFrameAtIndex to hint a decoder that we expect...
[WebKit-https.git] / Source / WebCore / platform / graphics / ImageSource.cpp
index f86520091e85ad3bae48d96f7fc94b864906abe7..c041f56383b80695f96dda035e70c35076166aee 100644 (file)
@@ -136,8 +136,10 @@ size_t ImageSource::frameCount() const
     return m_decoder ? m_decoder->frameCount() : 0;
 }
 
-PassNativeImagePtr ImageSource::createFrameAtIndex(size_t index)
+PassNativeImagePtr ImageSource::createFrameAtIndex(size_t index, float* scale)
 {
+    UNUSED_PARAM(scale);
+
     if (!m_decoder)
         return 0;