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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 1991323002: Send input event IPCs directly from the UI thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 2a24e8aef169b59276c42025f0ad8716af3ea45d..ae8069042324594cf88f8870caae24af3a4d2264 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -989,7 +989,7 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
data_reduction_proxy_settings));
host->AddFilter(new startup_metric_utils::StartupMetricMessageFilter());
- host->Send(new ChromeViewMsg_SetIsIncognitoProcess(
+ host->GetImmediateSender()->Send(new ChromeViewMsg_SetIsIncognitoProcess(
profile->IsOffTheRecord()));
for (size_t i = 0; i < extra_parts_.size(); ++i)
@@ -1006,7 +1006,8 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
GetRendererContentSettingRules(
HostContentSettingsMapFactory::GetForProfile(profile), &rules);
}
- host->Send(new ChromeViewMsg_SetContentSettingRules(rules));
+ host->GetImmediateSender()->Send(
+ new ChromeViewMsg_SetContentSettingRules(rules));
}
GURL ChromeContentBrowserClient::GetEffectiveURL(
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698