summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 20:28:23 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 20:28:23 +0000
commit790e2fdbb6ca0ce407b4af36584442ee3dd41243 (patch)
tree8af5bcd2d3b3a043ff0cec3e8dca5b378b014bf1 /content/browser
parentf6e68091282a63e3d201cd13affc54f96b5f04d3 (diff)
downloadchromium_src-790e2fdbb6ca0ce407b4af36584442ee3dd41243.zip
chromium_src-790e2fdbb6ca0ce407b4af36584442ee3dd41243.tar.gz
chromium_src-790e2fdbb6ca0ce407b4af36584442ee3dd41243.tar.bz2
wstring: convert all SetPageTitle APIs to use string16
BUG=23581 Review URL: http://codereview.chromium.org/7915008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/tab_contents/tab_contents.cc2
-rw-r--r--content/browser/tab_contents/tab_contents_view.h2
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.