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

Unified Diff: Source/platform/graphics/DeferredImageDecoder.cpp

Issue 1308233002: Remove external BitmapImage lazy decoding tracking (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/platform/graphics/DeferredImageDecoder.h ('k') | Source/platform/graphics/FrameData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/DeferredImageDecoder.cpp
diff --git a/Source/platform/graphics/DeferredImageDecoder.cpp b/Source/platform/graphics/DeferredImageDecoder.cpp
index 6d4538bcbe4aa73567378a9269f3aef646ca8bde..a9621b5a1058f9cd5e2404cb48dfd82615ab593d 100644
--- a/Source/platform/graphics/DeferredImageDecoder.cpp
+++ b/Source/platform/graphics/DeferredImageDecoder.cpp
@@ -177,13 +177,6 @@ bool DeferredImageDecoder::frameIsCompleteAtIndex(size_t index) const
return false;
}
-bool DeferredImageDecoder::frameIsCachedAndLazyDecodedAtIndex(size_t index) const
-{
- // All frames cached in m_frameData are lazy-decoded.
- ASSERT(index >= m_frameData.size() || m_frameData[index].m_haveMetadata);
- return index < m_frameData.size();
-}
-
float DeferredImageDecoder::frameDurationAtIndex(size_t index) const
{
if (m_actualDecoder)
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoder.h ('k') | Source/platform/graphics/FrameData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698