summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 21:39:09 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 21:39:09 +0000
commitf87eee05774ed53d75dfd1bb1d40bde455d97baa (patch)
tree630ac2027a66b2fa77ef1cfdbc82fc3a6d0949cd /chrome/browser/extensions
parenta70d677a665e43a132bc16a3c24ef2bbb5ba67fa (diff)
downloadchromium_src-f87eee05774ed53d75dfd1bb1d40bde455d97baa.zip
chromium_src-f87eee05774ed53d75dfd1bb1d40bde455d97baa.tar.gz
chromium_src-f87eee05774ed53d75dfd1bb1d40bde455d97baa.tar.bz2
Make extensions use ViewMsg_EnableIntrinsicWidthChangedMode.
BUG=11974 TEST=no Review URL: http://codereview.chromium.org/194064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25928 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/extension_host.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 39de133..c483070 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -345,6 +345,9 @@ void ExtensionHost::RenderViewCreated(RenderViewHost* render_view_host) {
// See http://code.google.com/p/chromium/issues/detail?id=18240
extension_function_dispatcher_.reset(
new ExtensionFunctionDispatcher(render_view_host, this, url_));
+
+ render_view_host->Send(new ViewMsg_EnableIntrinsicWidthChangedMode(
+ render_view_host->routing_id()));
}
int ExtensionHost::GetBrowserWindowID() const {