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

Unified Diff: content/plugin/webplugin_proxy.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: content/plugin/webplugin_proxy.cc
===================================================================
--- content/plugin/webplugin_proxy.cc (revision 123041)
+++ content/plugin/webplugin_proxy.cc (working copy)
@@ -482,7 +482,8 @@
if (!canvas->initialize(
window_rect.width(),
window_rect.height(),
- true,
+ skia::PlatformDevice::FLAGS_OPAQUE |
+ skia::PlatformDevice::FLAGS_INITIALIZED,
Jeff Timanus 2012/02/23 22:14:10 This initialization is within a #if WIN block, so
section)) {
canvas_out->reset();
}

Powered by Google App Engine
This is Rietveld 408576698