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

Unified Diff: chrome/renderer/automation/automation_renderer_helper.cc

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: chrome/renderer/automation/automation_renderer_helper.cc
===================================================================
--- chrome/renderer/automation/automation_renderer_helper.cc (revision 123041)
+++ chrome/renderer/automation/automation_renderer_helper.cc (working copy)
@@ -51,7 +51,7 @@
frame->setScrollOffset(WebSize(0, 0));
skia::PlatformCanvas canvas(
- new_size.width, new_size.height, true /* is_opaque */);
+ new_size.width, new_size.height, skia::PlatformDevice::FLAGS_OPAQUE);
view->paint(webkit_glue::ToWebCanvas(&canvas),
gfx::Rect(0, 0, new_size.width, new_size.height));

Powered by Google App Engine
This is Rietveld 408576698