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

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

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.cpp
diff --git a/Source/core/svg/SVGElementRareData.cpp b/Source/core/svg/SVGElementRareData.cpp
index 7c03735172fa279ac4b1d6fad416d5df64ee9fcc..2ca6434a3235712e278df705c4fd3ac72190e22c 100644
--- a/Source/core/svg/SVGElementRareData.cpp
+++ b/Source/core/svg/SVGElementRareData.cpp
@@ -20,7 +20,7 @@ MutableStylePropertySet* SVGElementRareData::ensureAnimatedSMILStyleProperties()
return m_animatedSMILStyleProperties.get();
}
-LayoutStyle* SVGElementRareData::overrideComputedStyle(Element* element, LayoutStyle* parentStyle)
+LayoutStyle* SVGElementRareData::overrideComputedStyle(Element* element, const LayoutStyle* parentStyle)
{
ASSERT(element);
if (!m_useOverrideComputedStyle)

Powered by Google App Engine
This is Rietveld 408576698