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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years, 1 month 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: 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;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedNumber.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698