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

Unified Diff: Source/core/loader/ImageLoader.h

Issue 1112513005: Reload image bypassing the cache (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WebNode instead of WebPoint Created 5 years, 8 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/loader/ImageLoader.h
diff --git a/Source/core/loader/ImageLoader.h b/Source/core/loader/ImageLoader.h
index 7c12bab730872065616baeb0ab21956a3dd3c96d..0d6b8e833cd5b51ffc9a9fcb69b3b970b59970e9 100644
--- a/Source/core/loader/ImageLoader.h
+++ b/Source/core/loader/ImageLoader.h
@@ -81,7 +81,7 @@ public:
DoNotBypassMainWorldCSP
};
- void updateFromElement(UpdateFromElementBehavior = UpdateNormal);
+ void updateFromElement(UpdateFromElementBehavior = UpdateNormal, bool bypassCache = false);
Nate Chapin 2015/05/01 18:46:51 Instead of the 2nd parameter, let's add a new valu
megjablon 2015/05/01 19:15:23 I like this idea. Done.
void elementDidMoveToNewDocument();
@@ -115,7 +115,7 @@ private:
class Task;
// Called from the task or from updateFromElement to initiate the load.
- void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior);
+ void doUpdateFromElement(BypassMainWorldBehavior, UpdateFromElementBehavior, bool bypassCache);
virtual void dispatchLoadEvent() = 0;
virtual String sourceURI(const AtomicString&) const = 0;

Powered by Google App Engine
This is Rietveld 408576698