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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 15200005: Grab bag of clang fixes for Windows code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ptr and cast style Created 7 years, 7 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: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index 2ec55559bfb80cd99ea33346b4366c50158104f8..15293f6d6317467e3528d4dbfaa9c8aac88eb5ed 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -740,7 +740,7 @@ void ExternalTabContainerWin::UpdateTargetURL(WebContents* source,
int32 page_id,
const GURL& url) {
if (automation_) {
- string16 url_string = CA2W(url.spec().c_str());
+ string16 url_string = base::UTF8ToUTF16(url.spec());
automation_->Send(
new AutomationMsg_UpdateTargetUrl(tab_handle_, url_string));
}

Powered by Google App Engine
This is Rietveld 408576698