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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElementRareData.h

Issue 2027113002: Make SVGElement::setCursorImageValue take a const pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGElementRareData.h
diff --git a/third_party/WebKit/Source/core/svg/SVGElementRareData.h b/third_party/WebKit/Source/core/svg/SVGElementRareData.h
index 1d32d16c33f260c166a621b7ebe2460fabe993bd..6bca9da9642b7f461f6d481ae6f672fc124c17bc 100644
--- a/third_party/WebKit/Source/core/svg/SVGElementRareData.h
+++ b/third_party/WebKit/Source/core/svg/SVGElementRareData.h
@@ -64,8 +64,8 @@ public:
SVGElement* correspondingElement() const { return m_correspondingElement.get(); }
void setCorrespondingElement(SVGElement* correspondingElement) { m_correspondingElement = correspondingElement; }
- CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; }
- void setCursorImageValue(CSSCursorImageValue* cursorImageValue) { m_cursorImageValue = cursorImageValue; }
+ const CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; }
+ void setCursorImageValue(const CSSCursorImageValue* cursorImageValue) { m_cursorImageValue = cursorImageValue; }
void setWebAnimatedAttributesDirty(bool dirty) { m_webAnimatedAttributesDirty = dirty; }
bool webAnimatedAttributesDirty() const { return m_webAnimatedAttributesDirty; }
@@ -92,7 +92,7 @@ private:
SVGElementSet m_incomingReferences;
HeapHashSet<WeakMember<SVGElement>> m_elementInstances;
WeakMember<SVGCursorElement> m_cursorElement;
- WeakMember<CSSCursorImageValue> m_cursorImageValue;
+ WeakMember<const CSSCursorImageValue> m_cursorImageValue;
Member<SVGElement> m_correspondingElement;
bool m_instancesUpdatesBlocked : 1;
bool m_useOverrideComputedStyle : 1;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698