Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.h

Issue 1432443004: Remove SkDevice and SkBaseDevice outside skia/ext/ (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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index d41b5b93d65f8a1d5ef6f6dad4d3d24ce114954b..a4524ff244f76e1777c50574799524b941ab2b66 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -105,7 +105,7 @@ public:
// FIXME: crbug.com/485243
// Prefer writePixels() and canvas()->draw*() for writing, and newImageSnapshot() for reading
- const SkBitmap& deprecatedBitmapForOverwrite() const;
+ const SkBitmap deprecatedBitmapForOverwrite() const;
bool writePixels(const SkImageInfo&, const void* pixels, size_t rowBytes, int x, int y);

Powered by Google App Engine