Index: content/browser/fileapi/fileapi_message_filter.cc |
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc |
index 0541c3a9d7c07db8914dc7c8cf257bd572cff014..1babfd5454669950913d90559b765cd992354bc2 100644 |
--- a/content/browser/fileapi/fileapi_message_filter.cc |
+++ b/content/browser/fileapi/fileapi_message_filter.cc |
@@ -597,8 +597,8 @@ void FileAPIMessageFilter::OnStartBuildingStream( |
const GURL& url, const std::string& content_type) { |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
// Only an internal Blob URL is expected here. See the BlobURL of the Blink. |
- if (!base::StartsWithASCII(url.path(), "blobinternal%3A///", |
- true /* case_sensitive */)) { |
+ if (!base::StartsWith(url.path(), "blobinternal%3A///", |
+ base::CompareCase::SENSITIVE)) { |
NOTREACHED() << "Malformed Stream URL: " << url.spec(); |
bad_message::ReceivedBadMessage(this, |
bad_message::FAMF_MALFORMED_STREAM_URL); |