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

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

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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/css/CSSCrossfadeValue.cpp ('k') | Source/core/css/CSSCursorImageValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSCursorImageValue.h
diff --git a/Source/core/css/CSSCursorImageValue.h b/Source/core/css/CSSCursorImageValue.h
index cc69d7c50fe73b808dbaff8793845f298e85e49e..19fb15471b7fafeb10c65871c2f36fe7d145db38 100644
--- a/Source/core/css/CSSCursorImageValue.h
+++ b/Source/core/css/CSSCursorImageValue.h
@@ -30,9 +30,9 @@ namespace blink {
class Element;
class SVGElement;
-class CSSCursorImageValue : public CSSValue {
+class CSSCursorImageValue : public CSSValueObject {
public:
- static PassRefPtrWillBeRawPtr<CSSCursorImageValue> create(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hotSpotSpecified, const IntPoint& hotSpot)
+ static PassRefPtrWillBeRawPtr<CSSCursorImageValue> create(CSSValue imageValue, bool hotSpotSpecified, const IntPoint& hotSpot)
{
return adoptRefWillBeNoop(new CSSCursorImageValue(imageValue, hotSpotSpecified, hotSpot));
}
@@ -58,13 +58,13 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSCursorImageValue(PassRefPtrWillBeRawPtr<CSSValue> imageValue, bool hotSpotSpecified, const IntPoint& hotSpot);
+ CSSCursorImageValue(CSSValue imageValue, bool hotSpotSpecified, const IntPoint& hotSpot);
bool isSVGCursor() const;
String cachedImageURL();
void clearImageResource();
- RefPtrWillBeMember<CSSValue> m_imageValue;
+ CSSValue m_imageValue;
bool m_hotSpotSpecified;
IntPoint m_hotSpot;
« no previous file with comments | « Source/core/css/CSSCrossfadeValue.cpp ('k') | Source/core/css/CSSCursorImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698