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

Unified Diff: extensions/renderer/runtime_custom_bindings.cc

Issue 1280473002: Update ToLower/UpperASCII API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/renderer/android/phone_number_detector.cc ('k') | media/base/mime_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/runtime_custom_bindings.cc
diff --git a/extensions/renderer/runtime_custom_bindings.cc b/extensions/renderer/runtime_custom_bindings.cc
index a7a5ff6cf4fd3b1262e4f56dae03e89506ed837d..6e10e104c1abcb00a3b5249747198bf656ff928a 100644
--- a/extensions/renderer/runtime_custom_bindings.cc
+++ b/extensions/renderer/runtime_custom_bindings.cc
@@ -125,8 +125,8 @@ void RuntimeCustomBindings::GetExtensionViews(
// all views for the current extension.
int browser_window_id = args[0]->Int32Value();
- std::string view_type_string = *v8::String::Utf8Value(args[1]);
- base::StringToUpperASCII(&view_type_string);
+ std::string view_type_string =
+ base::ToUpperASCII(*v8::String::Utf8Value(args[1]));
// |view_type| == VIEW_TYPE_INVALID means getting any type of
// views.
ViewType view_type = VIEW_TYPE_INVALID;
« no previous file with comments | « content/renderer/android/phone_number_detector.cc ('k') | media/base/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698