Passing alpha to DeferredImageDecoder once decoding completes
[WebKit-https.git] / Source / WebKit / chromium / tests / MockImageDecoder.h
index 5c9a6237b94f85ba3fd624bbb55a7029ad89f841..ba342178ab309fb9f2dae649988df6021e2f6202 100644 (file)
@@ -59,6 +59,8 @@ public:
         return true;
     }
 
+    virtual void setFrameHasAlpha(bool hasAlpha) { m_frameBufferCache[0].setHasAlpha(hasAlpha); }
+
     virtual String filenameExtension() const
     {
         return "mock";