Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: Source/WebKit/chromium/tests/DragImageTest.cpp

Issue 15969015: Reland again "Decode GIF image frames on demand". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebKit/chromium/tests/DragImageTest.cpp
diff --git a/Source/WebKit/chromium/tests/DragImageTest.cpp b/Source/WebKit/chromium/tests/DragImageTest.cpp
index e7ba8809a8c4145e4ad0f30fb624671e5fe01310..e941771f746cb0841fb02b844906129412bfe9af 100644
--- a/Source/WebKit/chromium/tests/DragImageTest.cpp
+++ b/Source/WebKit/chromium/tests/DragImageTest.cpp
@@ -59,12 +59,12 @@ public:
m_nativeImage->bitmap().allocPixels();
}
- virtual IntSize size() const
+ virtual IntSize size() const OVERRIDE
{
return m_size;
}
- virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame()
+ virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame() OVERRIDE
{
if (m_size.isZero())
return 0;
@@ -73,23 +73,21 @@ public:
}
// Stub implementations of pure virtual Image functions.
- virtual void destroyDecodedData(bool)
+ virtual void destroyDecodedData() OVERRIDE
{
}
- virtual unsigned decodedSize() const
+ virtual unsigned decodedSize() const OVERRIDE
{
return 0u;
}
- virtual bool currentFrameKnownToBeOpaque()
+ virtual bool currentFrameKnownToBeOpaque() OVERRIDE
{
return false;
}
- virtual void draw(WebCore::GraphicsContext*, const WebCore::FloatRect&,
- const WebCore::FloatRect&, WebCore::ColorSpace,
- WebCore::CompositeOperator, WebCore::BlendMode)
+ virtual void draw(GraphicsContext*, const FloatRect&, const FloatRect&, ColorSpace, CompositeOperator, BlendMode) OVERRIDE
{
}

Powered by Google App Engine
This is Rietveld 408576698