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

Unified Diff: include/core/SkBitmapDevice.h

Issue 154163002: remove SkCanvas::createCompatibleDevice, and add SkCanvas::newSurface (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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
Index: include/core/SkBitmapDevice.h
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h
index a9208e20a02ac2dbe6c14efb05fd3fd9f0eb310b..945ffbfca474271544d6a9444feb64bbd119064d 100644
--- a/include/core/SkBitmapDevice.h
+++ b/include/core/SkBitmapDevice.h
@@ -277,6 +277,8 @@ private:
*/
virtual void flush() SK_OVERRIDE {}
+ virtual SkSurface* newSurface(const SkImageInfo&) SK_OVERRIDE;
+
SkBitmap fBitmap;
typedef SkBaseDevice INHERITED;

Powered by Google App Engine
This is Rietveld 408576698