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

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

Issue 1158583003: Reduce how often LayoutSVGShape::updateShapeFromElement is called (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index 8604a00c11596253d893eb5d1c62ce319f8041e4..f58aed631a6078ac8e3aeaa570a9a9adf8effb63 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -144,6 +144,8 @@ public:
void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0);
+ virtual bool selfHasRelativeLengths() const { return false; }
+
void addToPropertyMap(PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase>);
SVGAnimatedString* className() { return m_className.get(); }
@@ -205,8 +207,6 @@ protected:
void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*);
static void markForLayoutAndParentResourceInvalidation(LayoutObject*);
- virtual bool selfHasRelativeLengths() const { return false; }
-
SVGElementRareData* ensureSVGRareData();
inline bool hasSVGRareData() const { return m_SVGRareData; }
inline SVGElementRareData* svgRareData() const

Powered by Google App Engine
This is Rietveld 408576698