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

Unified Diff: content/common/plugin_list_win.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (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/common/plugin_list.cc ('k') | content/public/browser/media_device_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/plugin_list_win.cc
diff --git a/content/common/plugin_list_win.cc b/content/common/plugin_list_win.cc
index 98694a2466c0abfef3566c55f2e2e288fc4717a8..4b209536a4671be280c73cd7fab08366bf13b5ed 100644
--- a/content/common/plugin_list_win.cc
+++ b/content/common/plugin_list_win.cc
@@ -395,9 +395,9 @@ bool PluginList::ShouldLoadPluginUsingPluginList(
if (should_check_version) {
for (size_t j = 0; j < plugins->size(); ++j) {
base::FilePath::StringType plugin1 =
- base::StringToLowerASCII((*plugins)[j].path.BaseName().value());
+ base::ToLowerASCII((*plugins)[j].path.BaseName().value());
base::FilePath::StringType plugin2 =
- base::StringToLowerASCII(info.path.BaseName().value());
+ base::ToLowerASCII(info.path.BaseName().value());
if ((plugin1 == plugin2 && HaveSharedMimeType((*plugins)[j], info)) ||
(plugin1 == kJavaDeploy1 && plugin2 == kJavaDeploy2) ||
(plugin1 == kJavaDeploy2 && plugin2 == kJavaDeploy1)) {
@@ -424,7 +424,7 @@ bool PluginList::ShouldLoadPluginUsingPluginList(
// Troublemakers.
base::FilePath::StringType filename =
- base::StringToLowerASCII(info.path.BaseName().value());
+ base::ToLowerASCII(info.path.BaseName().value());
// Depends on XPCOM.
if (filename == kMozillaActiveXPlugin)
return false;
« no previous file with comments | « content/common/plugin_list.cc ('k') | content/public/browser/media_device_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698