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

Unified Diff: chrome/renderer/render_view.cc

Issue 5631002: wstrings: convert CppVariant and CppBoundClass to not use wstring (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/renderer/render_view.cc
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index d3fe81481ec05db44bf65b6617f807df7a3660b7..82245e9819b09dea93af6e1f14139ca446ee052f 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -1861,7 +1861,7 @@ void RenderView::BindDOMAutomationController(WebFrame* frame) {
dom_automation_controller_->set_message_sender(this);
dom_automation_controller_->set_routing_id(routing_id_);
dom_automation_controller_->BindToJavascript(frame,
- L"domAutomationController");
+ "domAutomationController");
}
bool RenderView::RunJavaScriptMessage(int type,
@@ -3408,12 +3408,12 @@ void RenderView::didClearWindowObject(WebFrame* frame) {
frame_url.SchemeIs(chrome::kDataScheme))) {
GetDOMUIBindings()->set_message_sender(this);
GetDOMUIBindings()->set_routing_id(routing_id_);
- GetDOMUIBindings()->BindToJavascript(frame, L"chrome");
+ GetDOMUIBindings()->BindToJavascript(frame, "chrome");
}
if (BindingsPolicy::is_external_host_enabled(enabled_bindings_)) {
GetExternalHostBindings()->set_message_sender(this);
GetExternalHostBindings()->set_routing_id(routing_id_);
- GetExternalHostBindings()->BindToJavascript(frame, L"externalHost");
+ GetExternalHostBindings()->BindToJavascript(frame, "externalHost");
}
}

Powered by Google App Engine
This is Rietveld 408576698