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

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: Fixed nits 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
« no previous file with comments | « Source/core/css/parser/SizesAttributeParserTest.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index 731c8d10031c88cff443d83f8eb5fc59cb1d9f6c..7ab6af7520b648e8ef15c92c27e604785bdc96d6 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -47,6 +47,7 @@ public:
int naturalWidth() const;
int naturalHeight() const;
+ const AtomicString& currentSrc() const;
bool isServerMap() const;
@@ -130,7 +131,6 @@ private:
AtomicString m_bestFitImageURL;
float m_imageDevicePixelRatio;
bool m_formWasSetByParser;
- int m_effectiveSize;
};
} //namespace
« no previous file with comments | « Source/core/css/parser/SizesAttributeParserTest.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698