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

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

Issue 1369213002: Revert of Replace RawPtr with RefPtr on StylePendingImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: third_party/WebKit/Source/core/css/CSSCursorImageValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSCursorImageValue.h b/third_party/WebKit/Source/core/css/CSSCursorImageValue.h
index c383dd6a1fcb2c089d7b355ac5d168db999b3e45..8144a8b2c5c3f5bccedf53c295833406eb1ad333 100644
--- a/third_party/WebKit/Source/core/css/CSSCursorImageValue.h
+++ b/third_party/WebKit/Source/core/css/CSSCursorImageValue.h
@@ -46,9 +46,8 @@
String customCSSText() const;
bool updateIfSVGCursorIsUsed(Element*);
- bool isCachePending(float deviceScaleFactor) const;
- StyleImage* cachedImage(float deviceScaleFactor);
- StyleImage* cacheImage(Document*, float deviceScaleFactor);
+ StyleImage* cachedImage(Document*, float deviceScaleFactor);
+ StyleImage* cachedOrPendingImage(float deviceScaleFactor);
#if !ENABLE(OILPAN)
void removeReferencedElement(SVGElement*);
@@ -69,8 +68,8 @@
bool m_hotSpotSpecified;
IntPoint m_hotSpot;
- bool m_isCachePending;
- RefPtrWillBeMember<StyleImage> m_cachedImage;
+ RefPtrWillBeMember<StyleImage> m_image;
+ bool m_accessedImage;
#if !ENABLE(OILPAN)
HashSet<SVGElement*> m_referencedElements;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSCursorImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698