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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated patch after splitting Created 5 years, 10 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: Source/core/svg/SVGElementRareData.h
diff --git a/Source/core/svg/SVGElementRareData.h b/Source/core/svg/SVGElementRareData.h
index 1fad8e957c9bdb3c6db256672d53159b715783aa..987cb8abbbcc93f901069f542c3080f23ba919c7 100644
--- a/Source/core/svg/SVGElementRareData.h
+++ b/Source/core/svg/SVGElementRareData.h
@@ -72,7 +72,7 @@ public:
MutableStylePropertySet* animatedSMILStyleProperties() const { return m_animatedSMILStyleProperties.get(); }
MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
- LayoutStyle* overrideComputedStyle(Element*, LayoutStyle*);
+ LayoutStyle* overrideComputedStyle(Element*, const LayoutStyle*);
bool useOverrideComputedStyle() const { return m_useOverrideComputedStyle; }
void setUseOverrideComputedStyle(bool value) { m_useOverrideComputedStyle = value; }

Powered by Google App Engine
This is Rietveld 408576698