Index: third_party/WebKit/Source/core/loader/ImageLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
index 8ec19b7a33a7efc006d70bbd6d67b93e3e592061..fee995f83f396885ebb62133380e6eb8be3258ba 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
@@ -291,7 +291,7 @@ void ImageLoader::DoUpdateFromElement(BypassMainWorldBehavior bypass_behavior, |
AtomicString image_source_url = element_->ImageSourceURL(); |
ImageResourceContent* new_image = nullptr; |
- if (!url.IsNull()) { |
+ if (!url.IsNull() && !url.IsEmpty()) { |
// Unlike raw <img>, we block mixed content inside of <picture> or |
// <img srcset>. |
ResourceLoaderOptions resource_loader_options = |