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

Unified Diff: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp

Issue 1407133017: Cleanup some dead code in blink::ImageBuffer and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
index eaf78c12c13e60516caa657c7c8b9c57bc268a94..bd51ccdf75b7f3fac11bdb5f8ad939c93fa6d5f7 100644
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp
@@ -59,12 +59,6 @@ SkCanvas* UnacceleratedImageBufferSurface::canvas()
return m_surface->getCanvas();
}
-const SkBitmap& UnacceleratedImageBufferSurface::deprecatedBitmapForOverwrite()
-{
- m_surface->notifyContentWillChange(SkSurface::kDiscard_ContentChangeMode);
- return m_surface->getCanvas()->getDevice()->accessBitmap(false);
-}
-
bool UnacceleratedImageBufferSurface::isValid() const
{
return m_surface;

Powered by Google App Engine
This is Rietveld 408576698