Commit d8a6b458 authored by jam@chromium.org's avatar jam@chromium.org

Fix regression of transparent plugins not displaying correctly.

BUG=21157
Review URL: http://codereview.chromium.org/203013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25830 0039d316-1c4b-4281-b951-d872f2087c98
parent b644c88f
...@@ -426,11 +426,11 @@ void WebPluginDelegateProxy::UpdateGeometry(const gfx::Rect& window_rect, ...@@ -426,11 +426,11 @@ void WebPluginDelegateProxy::UpdateGeometry(const gfx::Rect& window_rect,
if (bitmaps_changed) if (bitmaps_changed)
#endif #endif
{ {
if (transport_store_.get()) { if (transport_store_.get())
param.windowless_buffer = transport_store_->handle(); param.windowless_buffer = transport_store_->handle();
} else if (background_store_.get()) {
if (background_store_.get())
param.background_buffer = background_store_->handle(); param.background_buffer = background_store_->handle();
}
} }
IPC::Message* msg; IPC::Message* msg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment