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

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

Issue 1374793005: Single image reload fix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | Source/core/loader/ImageLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/ImageInputType.cpp
diff --git a/Source/core/html/forms/ImageInputType.cpp b/Source/core/html/forms/ImageInputType.cpp
index f7dc76e5507b1d587f5ecfa6f3871c83777a837a..acbfd81a7d7a482df567117b6be6d1a778093ff5 100644
--- a/Source/core/html/forms/ImageInputType.cpp
+++ b/Source/core/html/forms/ImageInputType.cpp
@@ -143,7 +143,7 @@ void ImageInputType::srcAttributeChanged()
{
if (!element().layoutObject())
return;
- element().ensureImageLoader().updateFromElement(ImageLoader::UpdateIgnorePreviousError);
+ element().ensureImageLoader().updateFromElement(0, ImageLoader::UpdateIgnorePreviousError);
}
void ImageInputType::valueAttributeChanged()
@@ -158,7 +158,7 @@ void ImageInputType::startResourceLoading()
BaseButtonInputType::startResourceLoading();
HTMLImageLoader& imageLoader = element().ensureImageLoader();
- imageLoader.updateFromElement();
+ imageLoader.updateFromElement(0);
LayoutObject* layoutObject = element().layoutObject();
if (!layoutObject || !layoutObject->isLayoutImage())
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | Source/core/loader/ImageLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698