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

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

Issue 1427943002: Wrap SVGImage for container during paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use IntSize for SVGImageForContainer Created 5 years, 1 month 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/StyleFetchedImageSet.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
index 21c2056839be66e681b82a0cf47279dbaceffb83..8625c40ae163436516e54bb739e49328c637cb51 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
@@ -67,10 +67,9 @@ public:
bool imageHasRelativeHeight() const override;
void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
bool usesImageContainerSize() const override;
- void setContainerSizeForLayoutObject(const LayoutObject*, const IntSize&, float) override;
void addClient(LayoutObject*) override;
void removeClient(LayoutObject*) override;
- PassRefPtr<Image> image(const LayoutObject*, const IntSize&) const override;
+ PassRefPtr<Image> image(const LayoutObject*, const IntSize&, float) const override;
float imageScaleFactor() const override { return m_imageScaleFactor; }
bool knownToBeOpaque(const LayoutObject*) const override;
ImageResource* cachedImage() const override;

Powered by Google App Engine
This is Rietveld 408576698