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

Unified Diff: webkit/tools/test_shell/mac/test_webview_delegate.mm

Issue 7915008: wstring: convert all SetPageTitle APIs to use string16 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months 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
« no previous file with comments | « content/test/test_tab_contents_view.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/mac/test_webview_delegate.mm
diff --git a/webkit/tools/test_shell/mac/test_webview_delegate.mm b/webkit/tools/test_shell/mac/test_webview_delegate.mm
index 239a56fe75cd1e05037d7b168bd37d1cd65ea79a..e0beb0b9c4ea38c1c590057fe61bdf4287fb2b03 100644
--- a/webkit/tools/test_shell/mac/test_webview_delegate.mm
+++ b/webkit/tools/test_shell/mac/test_webview_delegate.mm
@@ -216,9 +216,9 @@ void TestWebViewDelegate::ShowJavaScriptAlert(const std::wstring& message) {
[alert runModal];
}
-void TestWebViewDelegate::SetPageTitle(const std::wstring& title) {
+void TestWebViewDelegate::SetPageTitle(const string16& title) {
[[shell_->webViewHost()->view_handle() window]
- setTitle:[NSString stringWithUTF8String:WideToUTF8(title).c_str()]];
+ setTitle:[NSString stringWithUTF8String:UTF16ToUTF8(title).c_str()]];
}
void TestWebViewDelegate::SetAddressBarURL(const GURL& url) {
« no previous file with comments | « content/test/test_tab_contents_view.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698