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

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

Issue 236713005: Use SizesAttributeParser to get the right srcset resource (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sizes_parser8
Patch Set: Added preloder and JS tests. Fixed bugs; Created 6 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/html/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index 731c8d10031c88cff443d83f8eb5fc59cb1d9f6c..8491fe7133dc8d22f7bad6b77727615c57ab5c89 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -47,6 +47,7 @@ public:
int naturalWidth() const;
int naturalHeight() const;
+ AtomicString currentSrc() const;
eseidel 2014/04/20 21:27:43 This could also be const AtomicString&, but I doub
Yoav Weiss 2014/04/20 21:48:03 Changed to match the other attribute getters signa
bool isServerMap() const;
@@ -130,7 +131,6 @@ private:
AtomicString m_bestFitImageURL;
float m_imageDevicePixelRatio;
bool m_formWasSetByParser;
- int m_effectiveSize;
};
} //namespace

Powered by Google App Engine
This is Rietveld 408576698