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

Unified Diff: content/child/blink_platform_impl.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 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/browser/webui/shared_resources_data_source.cc ('k') | content/child/multipart_response_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 41f46d498aef84c6e91b511b56d3941261746e2c..eb0c6241a6122cf5852764ecb89ee4d08a31ceaa 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -1074,8 +1074,8 @@ WebData BlinkPlatformImpl::loadResource(const char* name) {
return WebData();
// Check the name prefix to see if it's an audio resource.
- if (base::StartsWithASCII(name, "IRC_Composite", true) ||
- base::StartsWithASCII(name, "Composite", true))
+ if (base::StartsWith(name, "IRC_Composite", base::CompareCase::SENSITIVE) ||
+ base::StartsWith(name, "Composite", base::CompareCase::SENSITIVE))
return loadAudioSpatializationResource(name);
// TODO(flackr): We should use a better than linear search here, a trie would
« no previous file with comments | « content/browser/webui/shared_resources_data_source.cc ('k') | content/child/multipart_response_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698