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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageValue.h

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT 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/css/CSSImageValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSImageValue.h b/third_party/WebKit/Source/core/css/CSSImageValue.h
index 5ec97cdb92790aa4bd3cb4656906b34b305f06ff..ef962ca3280cab6f8293672c0ef7faf53bf6509d 100644
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h
@@ -51,7 +51,7 @@ public:
~CSSImageValue();
bool isCachePending() const { return m_isCachePending; }
- StyleFetchedImage* cachedImage() const { ASSERT(!isCachePending()); return m_cachedImage.get(); }
+ StyleFetchedImage* cachedImage() const;
StyleFetchedImage* cacheImage(Document*, const ResourceLoaderOptions&);
StyleFetchedImage* cacheImage(Document* document) { return cacheImage(document, ResourceFetcher::defaultResourceOptions()); }
@@ -70,10 +70,7 @@ public:
bool knownToBeOpaque(const LayoutObject*) const;
- PassRefPtrWillBeRawPtr<CSSImageValue> valueWithURLMadeAbsolute()
- {
- return create(KURL(ParsedURLString, m_absoluteURL), m_cachedImage.get());
- }
+ PassRefPtrWillBeRawPtr<CSSImageValue> valueWithURLMadeAbsolute();
void setInitiator(const AtomicString& name) { m_initiatorName = name; }
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFaceSource.cpp ('k') | third_party/WebKit/Source/core/css/CSSImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698