Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1129)

Unified Diff: Source/core/html/forms/ImageInputType.cpp

Issue 1314793010: Support fragment URLs for all kinds of SVG images (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update DEPS to match Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/forms/ImageInputType.cpp
diff --git a/Source/core/html/forms/ImageInputType.cpp b/Source/core/html/forms/ImageInputType.cpp
index 6af32a1052d2242ffd1474d8f8fb0f581bf63f1e..0d5c83c1c77bdd5bd380b43b32c433b6b600c12d 100644
--- a/Source/core/html/forms/ImageInputType.cpp
+++ b/Source/core/html/forms/ImageInputType.cpp
@@ -166,7 +166,7 @@ void ImageInputType::startResourceLoading()
return;
LayoutImageResource* imageResource = toLayoutImage(layoutObject)->imageResource();
- imageResource->setImageResource(imageLoader.image());
+ imageResource->setImageResource(imageLoader.image(), element().document().completeURL(element().imageSourceURL()));
}
bool ImageInputType::shouldRespectAlignAttribute()

Powered by Google App Engine
This is Rietveld 408576698