summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 20:30:33 +0000
committerstuartmorgan@google.com <stuartmorgan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 20:30:33 +0000
commitcc77a227813c7185bfbecf5744e50250bdd1e24c (patch)
tree7cd86095643d7569eaff2348f899d7d2a7672112 /chrome/renderer
parent79fc211d12ac4ce9631d35bbb102ed984ff30f41 (diff)
downloadchromium_src-cc77a227813c7185bfbecf5744e50250bdd1e24c.zip
chromium_src-cc77a227813c7185bfbecf5744e50250bdd1e24c.tar.gz
chromium_src-cc77a227813c7185bfbecf5744e50250bdd1e24c.tar.bz2
Replace WebPluginDelegateProxy::BackgroundChanged NOTIMPLEMENTED with a bug comment on Mac
This is a big source of console spew, so we should turn it off before enabling plugins by default. BUG=18193 TEST=No "Not implemented reached" spew to console for WebPluginDelegateProxy::BackgroundChanged Review URL: http://codereview.chromium.org/159724 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index a2ffeb4..f4eddc4 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -602,12 +602,15 @@ bool WebPluginDelegateProxy::BackgroundChanged(
return true;
}
return false;
-#else
- // Mac implementation note: |rect| is in content-area-relative coordinates,
+#elif defined(OS_MACOSX)
+ // Needs implementation; see http://crbug.com/18193
+ // 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.
+ return true;
+#else
NOTIMPLEMENTED();
return true;
#endif