| Index: components/html_viewer/web_url_loader_impl.cc
|
| diff --git a/components/html_viewer/web_url_loader_impl.cc b/components/html_viewer/web_url_loader_impl.cc
|
| index 48d291ffb6f68770802f55c464b1001eaaa9ed3c..0fa6b8e95c06a0936f00310ff1603b7707fac7e5 100644
|
| --- a/components/html_viewer/web_url_loader_impl.cc
|
| +++ b/components/html_viewer/web_url_loader_impl.cc
|
| @@ -30,10 +30,12 @@ blink::WebURLResponse::HTTPVersion StatusLineToHTTPVersion(
|
| if (status_line.is_null())
|
| return blink::WebURLResponse::HTTP_0_9;
|
|
|
| - if (base::StartsWithASCII(status_line, "HTTP/1.0", true))
|
| + if (base::StartsWith(status_line.get(), "HTTP/1.0",
|
| + base::CompareCase::SENSITIVE))
|
| return blink::WebURLResponse::HTTP_1_0;
|
|
|
| - if (base::StartsWithASCII(status_line, "HTTP/1.1", true))
|
| + if (base::StartsWith(status_line.get(), "HTTP/1.1",
|
| + base::CompareCase::SENSITIVE))
|
| return blink::WebURLResponse::HTTP_1_1;
|
|
|
| return blink::WebURLResponse::Unknown;
|
|
|