Index: Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp |
diff --git a/Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp b/Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp |
index f69dbe62cb5d397f722b3d7edd4b5814ea5bf402..c8b07eefc75e2ec63ef11662bf5678349c1db4f9 100644 |
--- a/Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp |
+++ b/Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp |
@@ -171,12 +171,13 @@ int DeferredImageDecoder::repetitionCount() const |
return m_actualDecoder ? m_actualDecoder->repetitionCount() : cAnimationNone; |
} |
-void DeferredImageDecoder::clearFrameBufferCache(size_t clearBeforeFrame) |
+size_t DeferredImageDecoder::clearCacheExceptFrame(size_t clearExceptFrame) |
{ |
// If image decoding is deferred then frame buffer cache is managed by |
// the compositor and this call is ignored. |
if (m_actualDecoder) |
Peter Kasting
2013/05/29 02:02:18
Nit: Simpler:
return m_actualDecoder ? m_actu
Xianzhu
2013/05/29 18:37:01
Done.
|
- m_actualDecoder->clearFrameBufferCache(clearBeforeFrame); |
+ return m_actualDecoder->clearCacheExceptFrame(clearExceptFrame); |
+ return 0; |
} |
bool DeferredImageDecoder::frameHasAlphaAtIndex(size_t index) const |