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

Unified Diff: components/dom_distiller/core/viewer.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
Index: components/dom_distiller/core/viewer.cc
diff --git a/components/dom_distiller/core/viewer.cc b/components/dom_distiller/core/viewer.cc
index 0a0dd546652d8a4f55390c407877255c1c548d25..7177cf6a726cceb616844a7e54bb652cb5121709 100644
--- a/components/dom_distiller/core/viewer.cc
+++ b/components/dom_distiller/core/viewer.cc
@@ -260,7 +260,7 @@ scoped_ptr<ViewerHandle> CreateViewRequest(
std::string entry_id =
url_utils::GetValueForKeyInUrlPathQuery(path, kEntryIdKey);
bool has_valid_entry_id = !entry_id.empty();
- entry_id = base::StringToUpperASCII(entry_id);
+ entry_id = base::ToUpperASCII(entry_id);
std::string requested_url_str =
url_utils::GetValueForKeyInUrlPathQuery(path, kUrlKey);

Powered by Google App Engine
This is Rietveld 408576698