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

Unified Diff: Source/web/WebLocalFrameImpl.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/web/WebLocalFrameImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index 086a79881696112c584d0d849db0724672006d89..a9e457f994ad75e52c54bb4279785fdf8e4df017 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -963,12 +963,12 @@ void WebLocalFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl, bool ig
load(request, loadType, WebHistoryItem(), WebHistoryDifferentDocumentLoad);
}
-void WebLocalFrameImpl::reloadImage(const WebNode& webNode)
+void WebLocalFrameImpl::reloadImage(const WebNode& webNode, WebURLRequest::ExtraData* extraData)
{
const Node* node = webNode.constUnwrap<Node>();
if (isHTMLImageElement(*node)) {
const HTMLImageElement& imageElement = toHTMLImageElement(*node);
- imageElement.forceReload();
+ imageElement.forceReload(extraData);
}
}
« no previous file with comments | « Source/web/WebLocalFrameImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698