Chromium Code Reviews

Unified Diff: gm/imagefiltersgraph.cpp

Issue 22978012: Split SkDevice into SkBaseDevice and SkBitmapDevice (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: update to ToT, re-add SkBaseDevice::config & default parameter Created 7 years, 4 months 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
« no previous file with comments | « gm/gmmain.cpp ('k') | gm/lighting.cpp » ('j') | include/core/SkDevice.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/imagefiltersgraph.cpp
===================================================================
--- gm/imagefiltersgraph.cpp (revision 10843)
+++ gm/imagefiltersgraph.cpp (working copy)
@@ -32,7 +32,7 @@
void make_bitmap() {
fBitmap.setConfig(SkBitmap::kARGB_8888_Config, 100, 100);
fBitmap.allocPixels();
- SkDevice device(fBitmap);
+ SkBitmapDevice device(fBitmap);
SkCanvas canvas(&device);
canvas.clear(0x00000000);
SkPaint paint;
« no previous file with comments | « gm/gmmain.cpp ('k') | gm/lighting.cpp » ('j') | include/core/SkDevice.h » ('J')

Powered by Google App Engine