| Index: third_party/WebKit/Source/core/svg/SVGElement.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGElement.h b/third_party/WebKit/Source/core/svg/SVGElement.h
|
| index 19f4671791726d22cee706c666e19de2beac04a7..3a9f8f9a316440619533901aceff54c6769146b5 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.h
|
| @@ -146,7 +146,7 @@ public:
|
|
|
| void addToPropertyMap(PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase>);
|
|
|
| - SVGAnimatedString* className();
|
| + SVGAnimatedString* className() { return m_className.get(); }
|
|
|
| bool inUseShadowTree() const;
|
|
|
| @@ -208,8 +208,12 @@ protected:
|
| virtual bool selfHasRelativeLengths() const { return false; }
|
|
|
| SVGElementRareData* ensureSVGRareData();
|
| - bool hasSVGRareData() const;
|
| - SVGElementRareData* svgRareData() const;
|
| + inline bool hasSVGRareData() const { return m_SVGRareData; }
|
| + inline SVGElementRareData* svgRareData() const
|
| + {
|
| + ASSERT(m_SVGRareData);
|
| + return m_SVGRareData.get();
|
| + }
|
|
|
| // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError.
|
| friend class SVGFitToViewBox;
|
|
|