summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/hung_renderer_controller.mm
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-18 08:17:44 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-18 08:17:44 +0000
commit0dd3a0ab424a01e887ac7f69dbbae6aaee6843c0 (patch)
treee29d015f414f9a33fff40171b743261bd9f3c82f /chrome/browser/ui/cocoa/hung_renderer_controller.mm
parent9f60a236323e348ab1a0343d6acdafa99125ac3b (diff)
downloadchromium_src-0dd3a0ab424a01e887ac7f69dbbae6aaee6843c0.zip
chromium_src-0dd3a0ab424a01e887ac7f69dbbae6aaee6843c0.tar.gz
chromium_src-0dd3a0ab424a01e887ac7f69dbbae6aaee6843c0.tar.bz2
Start moving core pieces of Chrome multi-process code to src\content. I'm starting with tab_contents directory.In future changes the headers that include these files will be updated. Once all the files are moved (i.e. renderer_host, rest of browser, renderer etc), then refactoring can begin so that content\DEPS doesn't have chrome in it.
Review URL: http://codereview.chromium.org/6537015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/hung_renderer_controller.mm')
-rw-r--r--chrome/browser/ui/cocoa/hung_renderer_controller.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/hung_renderer_controller.mm b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
index 2853658..652fc08 100644
--- a/chrome/browser/ui/cocoa/hung_renderer_controller.mm
+++ b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
@@ -15,6 +15,7 @@
#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#import "chrome/browser/ui/cocoa/multi_key_equivalent_button.h"
+#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/common/logging_chrome.h"
#include "chrome/common/result_codes.h"
#include "grit/chromium_strings.h"
@@ -139,7 +140,7 @@ HungRendererController* g_instance = NULL;
if (it->GetRenderProcessHost() == hungContents_->GetRenderProcessHost()) {
string16 title = (*it)->GetTitle();
if (title.empty())
- title = TabContents::GetDefaultTitle();
+ title = TabContentsWrapper::GetDefaultTitle();
[titles addObject:base::SysUTF16ToNSString(title)];
// TabContents can return a null SkBitmap if it has no favicon. If this