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

Unified Diff: Source/core/style/StyleGeneratedImage.h

Issue 1339183003: NOT FOR LANDING Experiment with allocating SVGImageForContainer on demand (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « Source/core/style/StyleFetchedImageSet.cpp ('k') | Source/core/style/StyleImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleGeneratedImage.h
diff --git a/Source/core/style/StyleGeneratedImage.h b/Source/core/style/StyleGeneratedImage.h
index 8112e2d3ccdd271a2f2aaa680adc96033ca419f9..78dee10d28a265ef05b76b24dbd6150d353de865 100644
--- a/Source/core/style/StyleGeneratedImage.h
+++ b/Source/core/style/StyleGeneratedImage.h
@@ -48,11 +48,11 @@ public:
bool imageHasRelativeHeight() const override { return !m_fixedSize; }
void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
bool usesImageContainerSize() const override { return !m_fixedSize; }
- void setContainerSizeForLayoutObject(const LayoutObject*, const IntSize& containerSize, float) override { m_containerSize = containerSize; }
void addClient(LayoutObject*) override;
void removeClient(LayoutObject*) override;
PassRefPtr<Image> image(LayoutObject*, const IntSize&) const override;
bool knownToBeOpaque(const LayoutObject*) const override;
+ KURL url() const override { return KURL(); }
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « Source/core/style/StyleFetchedImageSet.cpp ('k') | Source/core/style/StyleImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698