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

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

Issue 1367193003: NOT FOR LANDING Allocate SVGImageForContainer on demand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some NeedsRebaseline and revived some LayoutListMarker code that turned out to be important Created 5 years, 2 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/StylePendingImage.h
diff --git a/third_party/WebKit/Source/core/style/StylePendingImage.h b/third_party/WebKit/Source/core/style/StylePendingImage.h
index 458a732a8dccdd8d1fb69d2fe425158bcb5bf7b4..b906a86bd59193540565846d5e8410a91f194c18 100644
--- a/third_party/WebKit/Source/core/style/StylePendingImage.h
+++ b/third_party/WebKit/Source/core/style/StylePendingImage.h
@@ -66,15 +66,15 @@ 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 KURL& url) const override
{
ASSERT_NOT_REACHED();
return nullptr;
}
bool knownToBeOpaque(const LayoutObject*) const override { return false; }
+ KURL url() const override { return KURL(); }
DEFINE_INLINE_VIRTUAL_TRACE()
{
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleImage.h ('k') | third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698