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

Unified Diff: content/browser/web_contents/render_view_host_manager.cc

Issue 18339006: Rename RenderViewGone IPC/methods to better reflect reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for reviews by creis@ and palmer@. Created 7 years, 5 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: content/browser/web_contents/render_view_host_manager.cc
diff --git a/content/browser/web_contents/render_view_host_manager.cc b/content/browser/web_contents/render_view_host_manager.cc
index 66d8244086cc2897e9f56166e7d9027b4a3bb1d8..e8d733719c32ca1f973407a5cf6851588b362602 100644
--- a/content/browser/web_contents/render_view_host_manager.cc
+++ b/content/browser/web_contents/render_view_host_manager.cc
@@ -734,12 +734,12 @@ void RenderViewHostManager::CommitPending() {
render_view_host_->GetProcess()->RemovePendingView();
// If the view is gone, then this RenderViewHost died while it was hidden.
- // We ignored the RenderViewGone call at the time, so we should send it now
+ // We ignored the RenderProcessGone call at the time, so we should send it now
// to make sure the sad tab shows up, etc.
if (render_view_host_->GetView())
render_view_host_->GetView()->Show();
else
- delegate_->RenderViewGoneFromRenderManager(render_view_host_);
+ delegate_->RenderProcessGoneFromRenderManager(render_view_host_);
// Hide the old view now that the new one is visible.
if (old_render_view_host->GetView()) {
« no previous file with comments | « content/browser/web_contents/render_view_host_manager.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698