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

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

Issue 1238943004: CSSValue Immediates: Replace CSSValue usage with const references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
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 19fb15471b7fafeb10c65871c2f36fe7d145db38..cc0685c3ff2108db3596fe7d509562783fcf3956 100644
--- a/Source/core/css/CSSCursorImageValue.h
+++ b/Source/core/css/CSSCursorImageValue.h
@@ -32,7 +32,7 @@ class SVGElement;
class CSSCursorImageValue : public CSSValueObject {
public:
- static PassRefPtrWillBeRawPtr<CSSCursorImageValue> create(CSSValue imageValue, bool hotSpotSpecified, const IntPoint& hotSpot)
+ static PassRefPtrWillBeRawPtr<CSSCursorImageValue> create(const CSSValue& imageValue, bool hotSpotSpecified, const IntPoint& hotSpot)
{
return adoptRefWillBeNoop(new CSSCursorImageValue(imageValue, hotSpotSpecified, hotSpot));
}
@@ -58,7 +58,7 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSCursorImageValue(CSSValue imageValue, bool hotSpotSpecified, const IntPoint& hotSpot);
+ CSSCursorImageValue(const CSSValue& imageValue, bool hotSpotSpecified, const IntPoint& hotSpot);
bool isSVGCursor() const;
String cachedImageURL();
« 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