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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBufferSurface.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/ImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
index 34c68bf2dc6ec8a035a7e3e1f83b9e53c45b7e36..e35001ddb83cd48d2ba2a8bbbcf1bfec03574daf 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
@@ -81,13 +81,6 @@ void ImageBufferSurface::draw(GraphicsContext* context, const FloatRect& destRec
context->drawImage(image.get(), destRect, srcRect, op);
}
-const SkBitmap& ImageBufferSurface::deprecatedBitmapForOverwrite()
-{
- ASSERT_NOT_REACHED(); // should only be called on non-accelerated surface types, which have overrides
- return canvas()->getDevice()->accessBitmap(false); // Because we have to return something for the code to compile, and it can't be a local (by address).
-}
-
-
void ImageBufferSurface::flush()
{
canvas()->flush();

Powered by Google App Engine
This is Rietveld 408576698