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

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

Issue 1427943002: Wrap SVGImage for container during paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/StylePendingImage.h
diff --git a/third_party/WebKit/Source/core/style/StylePendingImage.h b/third_party/WebKit/Source/core/style/StylePendingImage.h
index 458a732a8dccdd8d1fb69d2fe425158bcb5bf7b4..483f3b1427610f570d9a32f057fbd7b6796c076c 100644
--- a/third_party/WebKit/Source/core/style/StylePendingImage.h
+++ b/third_party/WebKit/Source/core/style/StylePendingImage.h
@@ -66,10 +66,9 @@ public:
bool imageHasRelativeHeight() const override { return false; }
void computeIntrinsicDimensions(const LayoutObject*, Length& /* intrinsicWidth */ , Length& /* intrinsicHeight */, FloatSize& /* intrinsicRatio */) override { }
bool usesImageContainerSize() const override { return false; }
- 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
{
ASSERT_NOT_REACHED();
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698