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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 13375003: Fixing iframe jank in the local omnibox popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing sites, too. Created 7 years, 8 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
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 3c518fb02a99b8fe38e248fbd93bb4e1b1bfebae..7c8b030a814999dca5c37119346426570120c0ba 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -980,8 +980,10 @@ void ChromeContentBrowserClient::SiteInstanceGotProcess(
site_instance->GetSiteURL(), profile)) {
InstantService* instant_service =
InstantServiceFactory::GetForProfile(profile);
- if (instant_service)
- instant_service->AddInstantProcess(site_instance->GetProcess()->GetID());
+ if (instant_service) {
+ instant_service->AddInstantProcess(site_instance->GetProcess()->GetID(),
+ site_instance->GetSiteURL());
+ }
}
// We only expect there to be one signin process as we use process-per-site

Powered by Google App Engine
This is Rietveld 408576698