| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index dfd66ff39efdcaa3bb54e3eb562e64d474f1f3c9..3ef30afde7b2cbda4aad57610e422cd15524cdf2 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -916,7 +916,7 @@ PassRefPtr<LayoutStyle> SVGElement::customStyleForRenderer()
|
| if (!correspondingElement())
|
| return document().ensureStyleResolver().styleForElement(this);
|
|
|
| - LayoutStyle* style = 0;
|
| + const LayoutStyle* style = 0;
|
| if (Element* parent = parentOrShadowHostElement()) {
|
| if (LayoutObject* renderer = parent->renderer())
|
| style = renderer->style();
|
| @@ -948,7 +948,7 @@ LayoutStyle* SVGElement::computedStyle(PseudoId pseudoElementSpecifier)
|
| if (!hasSVGRareData() || !svgRareData()->useOverrideComputedStyle())
|
| return Element::computedStyle(pseudoElementSpecifier);
|
|
|
| - LayoutStyle* parentStyle = 0;
|
| + const LayoutStyle* parentStyle = 0;
|
| if (Element* parent = parentOrShadowHostElement()) {
|
| if (LayoutObject* renderer = parent->renderer())
|
| parentStyle = renderer->style();
|
|
|