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

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

Issue 1334703002: NOT FOR LANDING Pass URL to Image::draw (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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..f6bcc2393d992b1cf8235109c7e82b00e77f0086 100644
--- a/Source/core/style/StyleImage.h
+++ b/Source/core/style/StyleImage.h
@@ -68,6 +68,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