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

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

Issue 146833003: Convert remaining RenderSVG* nodes to RenderObject::isChildAllowed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix 'switch' condition. Created 6 years, 11 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
« no previous file with comments | « Source/core/svg/SVGAElement.cpp ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index ec1b8b0be29d7ab6597c8b1a3639797207e940f8..7064ccb3f6ea93de76916b1ec0e3a42d14fbb780 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -150,7 +150,7 @@ public:
bool isContextElement() const { return m_isContextElement; }
void setContextElement() { m_isContextElement = true; }
- virtual bool childShouldCreateRenderer(const Node& child) const;
+ virtual bool childShouldCreateRenderer(const Node& child) const { return true; }
protected:
SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement);
« no previous file with comments | « Source/core/svg/SVGAElement.cpp ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698