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

Unified Diff: chrome/plugin/webplugin_proxy.cc

Issue 165344: Add an UpdateContext call to WebPluginDelegateImpl on the Mac. (Closed)
Patch Set: Stripped down to Mac-only Created 11 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
« no previous file with comments | « no previous file | webkit/glue/plugins/webplugin_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/webplugin_proxy.cc
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc
index 8a046502687fb86360455103d28ca932da30d0b5..7d2598a6b6d2b8c9852359f4aa744656f5499f17 100644
--- a/chrome/plugin/webplugin_proxy.cc
+++ b/chrome/plugin/webplugin_proxy.cc
@@ -29,6 +29,7 @@
#include "chrome/plugin/webplugin_delegate_stub.h"
#include "skia/ext/platform_device.h"
#include "webkit/api/public/WebBindings.h"
+#include "webkit/glue/plugins/webplugin_delegate_impl.h"
#include "webkit/glue/webplugin_delegate.h"
#if defined(OS_WIN)
@@ -625,6 +626,9 @@ void WebPluginProxy::SetWindowlessBuffer(
delegate_->GetRect().height());
CGContextScaleCTM(background_context_, 1, -1);
}
+
+ static_cast<WebPluginDelegateImpl*>(delegate_)->UpdateContext(
+ windowless_context_);
}
#elif defined (OS_LINUX)
void WebPluginProxy::UpdateTransform() {
« no previous file with comments | « no previous file | webkit/glue/plugins/webplugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698