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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 194064: Make extensions use ViewMsg_EnableIntrinsicWidthChangedMode. (Closed)
Patch Set: Created 11 years, 3 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 | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 168e002f163928d4a4ae870bbf296ddc3e7f0049..ed71dc9ef98ac7a12e189e9054a8a2662c615d1f 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 {
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698