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

Unified Diff: content/browser/renderer_host/browser_render_process_host.cc

Issue 8734007: Merge 110556 - Fix next_page_id_ in a NTP forced to share an existing WebUI process. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/912/src/
Patch Set: 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
Index: content/browser/renderer_host/browser_render_process_host.cc
===================================================================
--- content/browser/renderer_host/browser_render_process_host.cc (revision 112056)
+++ content/browser/renderer_host/browser_render_process_host.cc (working copy)
@@ -430,6 +430,12 @@
return widget_helper_->GetNextRoutingID();
}
+void BrowserRenderProcessHost::UpdateAndSendMaxPageID(int32 page_id) {
+ if (page_id > max_page_id_)
+ Send(new ViewMsg_SetNextPageID(page_id + 1));
+ UpdateMaxPageID(page_id);
+}
+
void BrowserRenderProcessHost::CancelResourceRequests(int render_widget_id) {
widget_helper_->CancelResourceRequests(render_widget_id);
}
« no previous file with comments | « content/browser/renderer_host/browser_render_process_host.h ('k') | content/browser/renderer_host/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698