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

Unified Diff: content/browser/site_instance.cc

Issue 8468032: Fix next_page_id_ in a NTP forced to share an existing WebUI process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch to UpdateAndSendMaxPageID Created 9 years, 1 month 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 | « content/browser/renderer_host/render_process_host.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/site_instance.cc
diff --git a/content/browser/site_instance.cc b/content/browser/site_instance.cc
index d41f49b00fbaea8cd4d1be206943b1eea5b793ea..4cb57596d25b486a677fcedd8eb9835b9e97e5cb 100644
--- a/content/browser/site_instance.cc
+++ b/content/browser/site_instance.cc
@@ -83,8 +83,9 @@ RenderProcessHost* SiteInstance::GetProcess() {
content::GetContentClient()->browser()->SiteInstanceGotProcess(this);
- // Make sure the process starts at the right max_page_id
- process_->UpdateMaxPageID(max_page_id_);
+ // Make sure the process starts at the right max_page_id, and ensure that
+ // we send an update to the renderer process.
+ process_->UpdateAndSendMaxPageID(max_page_id_);
}
DCHECK(process_);
« no previous file with comments | « content/browser/renderer_host/render_process_host.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698