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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.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/StyleFetchedImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
index 9730098434f22f94a1f3e7f1f215ca1461eae83d..2ee7d3e9fafd947c1a897f74b49c141621d922e5 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
@@ -55,12 +55,11 @@ 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;
void notifyFinished(Resource*) override;
String debugName() const override { return "StyleFetchedImage"; }
- PassRefPtr<Image> image(const LayoutObject*, const IntSize&) const override;
+ PassRefPtr<Image> image(const LayoutObject*, const IntSize&, float zoom) const override;
bool knownToBeOpaque(const LayoutObject*) const override;
ImageResource* cachedImage() const override;
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGImagePainter.cpp ('k') | third_party/WebKit/Source/core/style/StyleFetchedImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698