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

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

Issue 2688343002: Unify SVG parent checks for LayoutObject construction using always the light tree parent. (Closed)
Patch Set: Created 3 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: 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 22a6c1ef5b00592b2ccd039c72aea353659ea4f7..0ef0dae484f2c30552a9629df315ca9a01dc32c8 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGElement.h
@@ -235,6 +235,8 @@ class CORE_EXPORT SVGElement : public Element {
static void markForLayoutAndParentResourceInvalidation(LayoutObject*);
virtual bool selfHasRelativeLengths() const { return false; }
+ bool isInSVGSubtree() const;
+ bool isValidAndInSVGSubtree() const;
SVGElementRareData* ensureSVGRareData();
inline bool hasSVGRareData() const { return m_SVGRareData; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698