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

Unified Diff: skia/ext/skia_utils_mac.mm

Issue 9416017: Optionally clear PlatformCanvas instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Address style issues. Created 8 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: skia/ext/skia_utils_mac.mm
===================================================================
--- skia/ext/skia_utils_mac.mm (revision 123041)
+++ skia/ext/skia_utils_mac.mm (working copy)
@@ -202,7 +202,8 @@
int height = CGImageGetHeight(image);
scoped_ptr<SkDevice> device(
- skia::BitmapPlatformDevice::Create(NULL, width, height, false));
+ skia::BitmapPlatformDevice::Create(NULL, width, height,
+ skia::PlatformDevice::FLAGS_NONE));
CGContextRef context = skia::GetBitmapContext(device.get());

Powered by Google App Engine
This is Rietveld 408576698