summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant/instant_unload_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/instant/instant_unload_handler.cc')
-rw-r--r--chrome/browser/instant/instant_unload_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/instant/instant_unload_handler.cc b/chrome/browser/instant/instant_unload_handler.cc
index 36f4958..a6a689f 100644
--- a/chrome/browser/instant/instant_unload_handler.cc
+++ b/chrome/browser/instant/instant_unload_handler.cc
@@ -15,8 +15,8 @@
using content::WebContents;
-// TabContentsDelegate implementation. This owns the TabContents supplied to the
-// constructor.
+// TabContentsDelegate implementation. This owns the TabContentsWrapper supplied
+// to the constructor.
class InstantUnloadHandler::TabContentsDelegateImpl
: public content::WebContentsDelegate {
public:
@@ -93,7 +93,7 @@ void InstantUnloadHandler::RunUnloadListenersOrDestroy(TabContentsWrapper* tab,
}
void InstantUnloadHandler::Activate(TabContentsDelegateImpl* delegate) {
- // Take ownership of the TabContents from the delegate.
+ // Take ownership of the TabContentsWrapper from the delegate.
TabContentsWrapper* tab = delegate->ReleaseTab();
browser::NavigateParams params(browser_, tab);
params.disposition = NEW_FOREGROUND_TAB;