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

Unified Diff: chrome/browser/renderer_host/render_widget_host.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/browser/renderer_host/render_widget_host.cc
diff --git a/chrome/browser/renderer_host/render_widget_host.cc b/chrome/browser/renderer_host/render_widget_host.cc
index 9a669f54500b2486875ba06583d1a1d8c5e611f7..15723fc39a855f68cf18a6da39919ed92abfe0a7 100644
--- a/chrome/browser/renderer_host/render_widget_host.cc
+++ b/chrome/browser/renderer_host/render_widget_host.cc
@@ -957,12 +957,14 @@ void RenderWidgetHost::OnMsgGetRootWindowRect(gfx::NativeViewId window_id,
void RenderWidgetHost::OnAllocateFakePluginWindowHandle(
bool opaque,
+ bool can_draw_transparent,
bool root,
gfx::PluginWindowHandle* id) {
// TODO(kbr): similar potential issue here as in OnMsgCreatePluginContainer.
// Possibly less of an issue because this is only used for the GPU plugin.
if (view_) {
- *id = view_->AllocateFakePluginWindowHandle(opaque, root);
+ *id = view_->AllocateFakePluginWindowHandle(
+ opaque, can_draw_transparent, root);
} else {
NOTIMPLEMENTED();
}

Powered by Google App Engine
This is Rietveld 408576698