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

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

Issue 1217893004: remove unused cachedBitmap from ImageBufferSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/RecordingImageBufferSurface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/RecordingImageBufferSurface.cpp
diff --git a/Source/platform/graphics/RecordingImageBufferSurface.cpp b/Source/platform/graphics/RecordingImageBufferSurface.cpp
index 91ade754a13f672d5d8d7cb014170c727d006c71..eb9acd7f237aec57062242b4bf4458c152e2a12a 100644
--- a/Source/platform/graphics/RecordingImageBufferSurface.cpp
+++ b/Source/platform/graphics/RecordingImageBufferSurface.cpp
@@ -266,36 +266,6 @@ bool RecordingImageBufferSurface::isAccelerated() const
return ImageBufferSurface::isAccelerated();
}
-bool RecordingImageBufferSurface::cachedBitmapEnabled() const
-{
- if (m_fallbackSurface)
- return m_fallbackSurface->cachedBitmapEnabled();
- return ImageBufferSurface::cachedBitmapEnabled();
-}
-
-const SkBitmap& RecordingImageBufferSurface::cachedBitmap() const
-{
- if (m_fallbackSurface)
- return m_fallbackSurface->cachedBitmap();
- return ImageBufferSurface::cachedBitmap();
-}
-
-void RecordingImageBufferSurface::invalidateCachedBitmap()
-{
- if (m_fallbackSurface)
- m_fallbackSurface->invalidateCachedBitmap();
- else
- ImageBufferSurface::invalidateCachedBitmap();
-}
-
-void RecordingImageBufferSurface::updateCachedBitmapIfNeeded()
-{
- if (m_fallbackSurface)
- m_fallbackSurface->updateCachedBitmapIfNeeded();
- else
- ImageBufferSurface::updateCachedBitmapIfNeeded();
-}
-
void RecordingImageBufferSurface::setIsHidden(bool hidden)
{
if (m_fallbackSurface)
« no previous file with comments | « Source/platform/graphics/RecordingImageBufferSurface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698