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

Unified Diff: chrome/renderer/webgles2context_impl.cc

Issue 3176027: Mac: Well-behaved accelerated plugins, actual fix (Closed)
Patch Set: test Created 10 years, 4 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/webgles2context_impl.cc
diff --git a/chrome/renderer/webgles2context_impl.cc b/chrome/renderer/webgles2context_impl.cc
index d0e35d7c4974ff8a24943516938f7bf181332c53..4023cacf05d996a6e2234314abd6c7ab9636f157 100644
--- a/chrome/renderer/webgles2context_impl.cc
+++ b/chrome/renderer/webgles2context_impl.cc
@@ -50,7 +50,8 @@ bool WebGLES2ContextImpl::initialize(
view_id = renderview->host_window();
#else
view_id = static_cast<gfx::NativeViewId>(
- renderview->AllocateFakePluginWindowHandle(true, true));
+ renderview->AllocateFakePluginWindowHandle(
+ /*opaque=*/true, /*can_draw_transparent=*/false, /*root=*/true));
#endif
context_ = ggl::CreateViewContext(
host, view_id,

Powered by Google App Engine
This is Rietveld 408576698