| Index: content/browser/tracing/tracing_ui.cc
|
| diff --git a/content/browser/tracing/tracing_ui.cc b/content/browser/tracing/tracing_ui.cc
|
| index 1afff96cab38184742799ae70d4d4f469daca699..b83376d8eb7eb01ea1c3612bc4d4121d24b1d103 100644
|
| --- a/content/browser/tracing/tracing_ui.cc
|
| +++ b/content/browser/tracing/tracing_ui.cc
|
| @@ -207,7 +207,8 @@ bool OnBeginJSONRequest(const std::string& path,
|
| }
|
|
|
| const char* beginRecordingPath = "json/begin_recording?";
|
| - if (base::StartsWithASCII(path, beginRecordingPath, true)) {
|
| + if (base::StartsWith(path, beginRecordingPath,
|
| + base::CompareCase::SENSITIVE)) {
|
| std::string data = path.substr(strlen(beginRecordingPath));
|
| return BeginRecording(data, callback);
|
| }
|
| @@ -253,7 +254,7 @@ bool OnBeginJSONRequest(const std::string& path,
|
|
|
| bool OnTracingRequest(const std::string& path,
|
| const WebUIDataSource::GotDataCallback& callback) {
|
| - if (base::StartsWithASCII(path, "json/", true)) {
|
| + if (base::StartsWith(path, "json/", base::CompareCase::SENSITIVE)) {
|
| if (!OnBeginJSONRequest(path, callback)) {
|
| std::string error("##ERROR##");
|
| callback.Run(base::RefCountedString::TakeString(&error));
|
|
|