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

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

Issue 15350006: Decode GIF image frames on demand. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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
« no previous file with comments | « Source/WebKit/chromium/WebKit.gypi ('k') | Source/WebKit/chromium/tests/GIFImageDecoderTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/tests/DragImageTest.cpp
diff --git a/Source/WebKit/chromium/tests/DragImageTest.cpp b/Source/WebKit/chromium/tests/DragImageTest.cpp
index 44bb0d73f577569447eff3563545321504c0b5e8..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 int 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
{
}
« no previous file with comments | « Source/WebKit/chromium/WebKit.gypi ('k') | Source/WebKit/chromium/tests/GIFImageDecoderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698