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

Unified Diff: Source/core/style/StyleImage.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/StyleGeneratedImage.h ('k') | Source/core/style/StylePendingImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleImage.h
diff --git a/Source/core/style/StyleImage.h b/Source/core/style/StyleImage.h
index 5457c38eb03bc13dc9c2e3d76d0fcd72e56676e1..9cf4534f12f306371fe49336082d99fb8bfe5393 100644
--- a/Source/core/style/StyleImage.h
+++ b/Source/core/style/StyleImage.h
@@ -60,7 +60,6 @@ public:
virtual bool imageHasRelativeWidth() const = 0;
virtual bool imageHasRelativeHeight() const = 0;
virtual bool usesImageContainerSize() const = 0;
- virtual void setContainerSizeForLayoutObject(const LayoutObject*, const IntSize&, float) = 0;
virtual void addClient(LayoutObject*) = 0;
virtual void removeClient(LayoutObject*) = 0;
virtual PassRefPtr<Image> image(LayoutObject*, const IntSize&) const = 0;
@@ -68,6 +67,7 @@ public:
virtual float imageScaleFactor() const { return 1; }
virtual bool knownToBeOpaque(const LayoutObject*) const = 0;
virtual ImageResource* cachedImage() const { return 0; }
+ virtual KURL url() const = 0;
ALWAYS_INLINE bool isImageResource() const { return m_isImageResource; }
ALWAYS_INLINE bool isPendingImage() const { return m_isPendingImage; }
« no previous file with comments | « Source/core/style/StyleGeneratedImage.h ('k') | Source/core/style/StylePendingImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698