summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 20:13:50 +0000
committerstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 20:13:50 +0000
commitcb69ca0e206805c4a4a4cdef2db44fb196820c2a (patch)
tree7408cefacdb5680e52171391bc35362469eb99b1 /chrome
parentde54ce65bf92ad88e54d2a1ad4a1960c86a46d29 (diff)
downloadchromium_src-cb69ca0e206805c4a4a4cdef2db44fb196820c2a.zip
chromium_src-cb69ca0e206805c4a4a4cdef2db44fb196820c2a.tar.gz
chromium_src-cb69ca0e206805c4a4a4cdef2db44fb196820c2a.tar.bz2
Fix Mac plugin background snapshots
BUG=none TEST=Compose an email in Gmail with plugins enabled; scroll around and mouse over the "Add attachment" link; it should always draw correctly instead of sometimes showing another part of the page. Review URL: http://codereview.chromium.org/159712 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index 3d05a4b..a2ffeb4 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -603,6 +603,11 @@ bool WebPluginDelegateProxy::BackgroundChanged(
}
return false;
#else
+ // Mac implementation note: |rect| is in content-area-relative coordinates,
+ // but we may be given a context that is a subset of the content area
+ // with a transform that makes the coordinates work out. We will likely
+ // need to do fixup work like that done in BlitContextToContext when we
+ // implement this.
NOTIMPLEMENTED();
return true;
#endif