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

Unified Diff: chrome/renderer/webplugin_delegate_proxy.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/webplugin_delegate_proxy.cc
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index f1019cbd678a6c14dab51e18567bc26bf9bb6adf..247fbbfeb71e45308630c4f056e789baea7cb1f9 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -1400,8 +1400,10 @@ void WebPluginDelegateProxy::OnBindFakePluginWindowHandle(bool opaque) {
// plug-in.
bool WebPluginDelegateProxy::BindFakePluginWindowHandle(bool opaque) {
gfx::PluginWindowHandle fake_window = NULL;
- if (render_view_)
- fake_window = render_view_->AllocateFakePluginWindowHandle(opaque, false);
+ if (render_view_) {
+ fake_window = render_view_->AllocateFakePluginWindowHandle(
+ opaque, transparent_, /*is_root=*/false);
+ }
// If we aren't running on 10.6, this allocation will fail.
if (!fake_window)
return false;

Powered by Google App Engine
This is Rietveld 408576698