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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.cc

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
Index: webkit/tools/test_shell/test_webview_delegate.cc
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index 0b9d70ff5659a98d1012c2383a13bff029a01798..f9f18675450a6a7c7cd6f6f8a9de6a7d39d41d2e 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -835,9 +835,7 @@ void TestWebViewDelegate::didClearWindowObject(WebFrame* frame) {
void TestWebViewDelegate::didReceiveTitle(
WebFrame* frame, const WebString& title, WebTextDirection direction) {
- std::wstring wtitle = UTF16ToWideHack(title);
-
- SetPageTitle(wtitle);
+ SetPageTitle(title);
}
void TestWebViewDelegate::didFinishDocumentLoad(WebFrame* frame) {
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate.h ('k') | webkit/tools/test_shell/test_webview_delegate_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698