Index: ppapi/shared_impl/test_utils.cc |
diff --git a/ppapi/shared_impl/test_utils.cc b/ppapi/shared_impl/test_utils.cc |
index 18bc9e3af325c6eed9e2e42ca4972842a5fb04ad..2ab8c5a27dccc43f8ee59cd1a14bd2b2d332f038 100644 |
--- a/ppapi/shared_impl/test_utils.cc |
+++ b/ppapi/shared_impl/test_utils.cc |
@@ -213,11 +213,8 @@ |
} |
std::string StripTestPrefixes(const std::string& test_name) { |
- const char kDisabledPrefix[] = "DISABLED_"; |
- if (base::StartsWith(test_name, kDisabledPrefix, |
- base::CompareCase::SENSITIVE)) { |
- return test_name.substr(sizeof(kDisabledPrefix) - 1); |
- } |
+ if (test_name.find("DISABLED_") == 0) |
+ return test_name.substr(strlen("DISABLED_")); |
return test_name; |
} |