Index: chrome/test/chromedriver/performance_logger.cc |
diff --git a/chrome/test/chromedriver/performance_logger.cc b/chrome/test/chromedriver/performance_logger.cc |
index 37e66f40f280358a2aa49fabfc044d18fa134b43..f97385b6d9143c2a1ae15fb7408e3053200b2740 100644 |
--- a/chrome/test/chromedriver/performance_logger.cc |
+++ b/chrome/test/chromedriver/performance_logger.cc |
@@ -43,7 +43,8 @@ bool IsEnabled(const PerfLoggingPrefs::InspectorDomainStatus& domain_status) { |
bool ShouldRequestTraceEvents(const std::string& command) { |
for (size_t i_domain = 0; i_domain < arraysize(kRequestTraceCommands); |
++i_domain) { |
- if (base::strcasecmp(command.c_str(), kRequestTraceCommands[i_domain]) == 0) |
+ if (base::EqualsCaseInsensitiveASCII(command, |
+ kRequestTraceCommands[i_domain])) |
return true; |
} |
return false; |