Index: content/renderer/media/buffered_resource_loader.cc |
diff --git a/content/renderer/media/buffered_resource_loader.cc b/content/renderer/media/buffered_resource_loader.cc |
index 128340d1b0ef592d8ad953f928ddc6aa5c1a9829..24b1213a08c47dccbc8d9cc6b4231b49fbc942f3 100644 |
--- a/content/renderer/media/buffered_resource_loader.cc |
+++ b/content/renderer/media/buffered_resource_loader.cc |
@@ -389,7 +389,7 @@ void BufferedResourceLoader::didReceiveResponse( |
// received a response from HTTP/HTTPS protocol or the request was |
// successful (in particular range request). So we only verify the partial |
// response for HTTP and HTTPS protocol. |
- if (url_.SchemeIs(url::kHttpScheme) || url_.SchemeIs(url::kHttpsScheme)) { |
+ if (url_.SchemeIsHTTPOrHTTPS()) { |
bool partial_response = (response.httpStatusCode() == kHttpPartialContent); |
bool ok_response = (response.httpStatusCode() == kHttpOK); |