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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.h

Issue 1704493002: Use Image::updateConcreteSize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-image-updateconcretesize
Patch Set: Move test here from dependency CL. Created 4 years, 10 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: third_party/WebKit/Source/core/style/StyleFetchedImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
index b20b31ad22d9d7ecec67ad0df042107301215f2f..cb554011d12d780ef673b4c89311d6915b11b109 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
@@ -50,6 +50,7 @@ public:
bool canRender() const override;
bool isLoaded() const override;
bool errorOccurred() const override;
+ void updateConcreteObjectSize(const LayoutSize& defaultObjectSize) override;
LayoutSize imageSize(const LayoutObject*, float multiplier) const override;
bool imageHasRelativeSize() const override;
void computeIntrinsicDimensions(const LayoutObject*, FloatSize& intrinsicSize, FloatSize& intrinsicRatio) override;

Powered by Google App Engine
This is Rietveld 408576698