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

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

Issue 10091006: TabContents -> WebContentsImpl, part 15. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 8c2d7dba15764652036d33a7594fbe46e7da572e..b149d44999c4ec2a8f647c7c604d5dba64a186f8 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -482,12 +482,12 @@ void RenderViewHostImpl::WasSwappedOut() {
if (!content::RenderProcessHost::run_renderer_in_process() &&
process_handle && views <= 1) {
- // We expect the delegate for this RVH to be TabContents, as it is the
+ // We expect the delegate for this RVH to be WebContents, as it is the
// only class that swaps out render view hosts on navigation.
DCHECK_EQ(delegate_->GetRenderViewType(),
- content::VIEW_TYPE_TAB_CONTENTS);
+ content::VIEW_TYPE_WEB_CONTENTS);
- // Kill the process only if TabContents sets SuddenTerminationAllowed,
+ // Kill the process only if WebContents sets SuddenTerminationAllowed,
// which indicates that the timer has expired.
// This is not the case if we load data URLs or about:blank. The reason
// is that there is no network requests and this code is hit without
« no previous file with comments | « chrome/renderer/extensions/extension_custom_bindings.cc ('k') | content/browser/speech/speech_recognition_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698