Index: third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.cpp |
index 2380c43b2377b38dc1052623230d0e51d543efd5..beb8fe0c5f0faf987425e63cf13b314f3b4dfab9 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.cpp |
@@ -356,7 +356,7 @@ |
return winner; |
for (unsigned i = imageCandidates.size() - 1; i > winner; --i) { |
KURL url = document->completeURL(stripLeadingAndTrailingHTMLSpaces(imageCandidates[i]->url())); |
- if (memoryCache()->resourceForURL(url, document->fetcher()->getCacheIdentifier()) || url.protocolIsData()) |
+ if (memoryCache()->resourceForURL(url, document->fetcher()->getCacheIdentifier())) |
return i; |
} |
return winner; |