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

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

Issue 10073002: TabContents -> WebContentsImpl, part 11. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed a few 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/cross_site_resource_handler.cc
diff --git a/content/browser/renderer_host/cross_site_resource_handler.cc b/content/browser/renderer_host/cross_site_resource_handler.cc
index aee115e373fbeebe07f1607f67d1a340b9b5f368..2c51e985562a53fc05361d21c5ce7f63a46fc4fa 100644
--- a/content/browser/renderer_host/cross_site_resource_handler.cc
+++ b/content/browser/renderer_host/cross_site_resource_handler.cc
@@ -144,7 +144,7 @@ bool CrossSiteResourceHandler::OnResponseCompleted(
}
// We can now send the response to the new renderer, which will cause
-// TabContents to swap in the new renderer and destroy the old one.
+// WebContentsImpl to swap in the new renderer and destroy the old one.
void CrossSiteResourceHandler::ResumeResponse() {
DCHECK(request_id_ != -1);
DCHECK(in_cross_site_transition_);
@@ -214,8 +214,8 @@ void CrossSiteResourceHandler::StartCrossSiteTransition(
// OnResponseCompleted after a failure. We don't need to pause, because
// there will be no reads.
- // Tell the tab responsible for this request that a cross-site response is
- // starting, so that it can tell its old renderer to run its onunload
+ // Tell the contents responsible for this request that a cross-site response
+ // is starting, so that it can tell its old renderer to run its onunload
// handler now. We will wait to hear the corresponding ClosePage_ACK.
BrowserThread::PostTask(
BrowserThread::UI,

Powered by Google App Engine
This is Rietveld 408576698