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

Unified Diff: chrome/browser/ui/cocoa/hung_renderer_controller.mm

Issue 8865004: Create CoreTabHelper, move remaining core TCW functionality into it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lots of helpers now Created 9 years 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: chrome/browser/ui/cocoa/hung_renderer_controller.mm
diff --git a/chrome/browser/ui/cocoa/hung_renderer_controller.mm b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
index 3e5e38e463e2a6ac7ecf4ed56a53cda598ff6331..41e616b801178c5176e3af253ef5700b7e6494ec 100644
--- a/chrome/browser/ui/cocoa/hung_renderer_controller.mm
+++ b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
@@ -14,6 +14,7 @@
#include "chrome/browser/ui/browser_list.h"
#import "chrome/browser/ui/cocoa/multi_key_equivalent_button.h"
#import "chrome/browser/ui/cocoa/tab_contents/favicon_util.h"
+#include "chrome/browser/ui/tab_contents/core_tab_helper.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/common/logging_chrome.h"
#include "content/browser/renderer_host/render_view_host.h"
@@ -173,7 +174,7 @@ class TabContentsObserverBridge : public TabContentsObserver {
hungContents_->GetRenderProcessHost()) {
string16 title = (*it)->tab_contents()->GetTitle();
if (title.empty())
- title = TabContentsWrapper::GetDefaultTitle();
+ title = CoreTabHelper::GetDefaultTitle();
[titles addObject:base::SysUTF16ToNSString(title)];
[favicons addObject:mac::FaviconForTabContents(*it)];
}

Powered by Google App Engine
This is Rietveld 408576698