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

Unified Diff: Source/core/html/HTMLImageElement.h

Issue 290203002: <picture>: Update the <img> element when a <source> changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: with tests Created 6 years, 7 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/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index b559a7bf59b49823549baa30154211c8594fd91f..5aea9505ae765b25845aa00f88b4c1920cb125e1 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -93,6 +93,8 @@ public:
virtual FloatSize sourceSize() const OVERRIDE;
virtual FloatSize defaultDestinationSize() const OVERRIDE;
+ // public so that HTMLPictureElement can call this as well.
+ void selectSourceURL(bool ignorePreviousError);
protected:
explicit HTMLImageElement(Document&, HTMLFormElement* = 0);

Powered by Google App Engine
This is Rietveld 408576698