| Index: chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| index dcb600d5ab6a3ed3095707eba2b3446dbfbde34b..27e71a40fd3b150093ceae476cd00801a986c551 100644
|
| --- a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| @@ -84,7 +84,8 @@ void FaviconWebUIHandler::HandleGetFaviconDominantColor(
|
| std::string path;
|
| CHECK(args->GetString(0, &path));
|
| std::string prefix = "chrome://favicon/size/";
|
| - DCHECK(base::StartsWithASCII(path, prefix, false)) << "path is " << path;
|
| + DCHECK(base::StartsWith(path, prefix, base::CompareCase::INSENSITIVE_ASCII))
|
| + << "path is " << path;
|
| size_t slash = path.find("/", prefix.length());
|
| path = path.substr(slash + 1);
|
|
|
|
|