summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:34:06 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:34:06 +0000
commit51a0bb591440055191f7dd5ca1077238369b57bd (patch)
treebc214efcb3129ee966b708a5d91717c77e5145be /chrome/plugin
parent1f662c9f7cd4f27f8b8d4eedb238b97fa56b055f (diff)
downloadchromium_src-51a0bb591440055191f7dd5ca1077238369b57bd.zip
chromium_src-51a0bb591440055191f7dd5ca1077238369b57bd.tar.gz
chromium_src-51a0bb591440055191f7dd5ca1077238369b57bd.tar.bz2
Implement support for NPDrawingModelInvalidatingCoreAnimation in Mac plugins
BUG=38982 TEST=None (no plugins use it yet) Review URL: http://codereview.chromium.org/2561005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/webplugin_proxy.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc
index 9ff6224..3bf1332 100644
--- a/chrome/plugin/webplugin_proxy.cc
+++ b/chrome/plugin/webplugin_proxy.cc
@@ -112,6 +112,8 @@ void WebPluginProxy::Invalidate() {
void WebPluginProxy::InvalidateRect(const gfx::Rect& rect) {
#if defined(OS_MACOSX)
+ delegate_->PluginDidInvalidate();
+
// Some plugins will send invalidates larger than their own rect when
// offscreen, so constrain invalidates to the plugin rect.
gfx::Rect plugin_rect = delegate_->GetRect();