| Index: content/browser/tracing/tracing_ui.cc
|
| diff --git a/content/browser/tracing/tracing_ui.cc b/content/browser/tracing/tracing_ui.cc
|
| index 074a771a1a88d0889c5021f9cc8df7213ff8ed73..7f404850a1af0bb7dad82cacfaec64da2fb1972f 100644
|
| --- a/content/browser/tracing/tracing_ui.cc
|
| +++ b/content/browser/tracing/tracing_ui.cc
|
| @@ -169,10 +169,10 @@ bool OnBeginJSONRequest(const std::string& path,
|
| base::Bind(OnGotCategories, callback));
|
| }
|
|
|
| - const char* beginRecordingPath = "json/begin_recording?";
|
| - if (base::StartsWith(path, beginRecordingPath,
|
| + const char kBeginRecordingPath[] = "json/begin_recording?";
|
| + if (base::StartsWith(path, kBeginRecordingPath,
|
| base::CompareCase::SENSITIVE)) {
|
| - std::string data = path.substr(strlen(beginRecordingPath));
|
| + std::string data = path.substr(strlen(kBeginRecordingPath));
|
| return BeginRecording(data, callback);
|
| }
|
| if (path == "json/get_buffer_percent_full") {
|
|
|