diff options
Diffstat (limited to 'content/browser/tab_contents')
-rw-r--r-- | content/browser/tab_contents/tab_contents.cc | 2 | ||||
-rw-r--r-- | content/browser/tab_contents/tab_contents_view.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc index c3f1396..287e661 100644 --- a/content/browser/tab_contents/tab_contents.cc +++ b/content/browser/tab_contents/tab_contents.cc @@ -1377,7 +1377,7 @@ bool TabContents::UpdateTitleForEntry(NavigationEntry* entry, } // Lastly, set the title for the view. - view_->SetPageTitle(UTF16ToWideHack(final_title)); + view_->SetPageTitle(final_title); TitleUpdatedDetails details(entry, explicit_set); diff --git a/content/browser/tab_contents/tab_contents_view.h b/content/browser/tab_contents/tab_contents_view.h index 8134ac5..05da7c6 100644 --- a/content/browser/tab_contents/tab_contents_view.h +++ b/content/browser/tab_contents/tab_contents_view.h @@ -64,7 +64,7 @@ class CONTENT_EXPORT TabContentsView : public RenderViewHostDelegate::View { // is not strictly necessary and isn't expected to be displayed anywhere, but // can aid certain debugging tools such as Spy++ on Windows where you are // trying to find a specific window. - virtual void SetPageTitle(const std::wstring& title) = 0; + virtual void SetPageTitle(const string16& title) = 0; // Used to notify the view that a tab has crashed so each platform can // prepare the sad tab. |