Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImageSet.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
index 615eeffb2649f54dd3d4c5369a215dc38640f588..ccd43d61c85b4d1d95b0c8171cdfaf9034065edc 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
@@ -62,6 +62,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