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

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

Issue 143263011: Convert SVG <text> and descendants to use RenderObject::isChildAllowed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/core/svg/SVGTextElement.h
diff --git a/Source/core/svg/SVGTextElement.h b/Source/core/svg/SVGTextElement.h
index eb8014406034eed1527ee80c879eddf5231bbf11..da4059aaf109cacc9112492d6d2f5721d036a78f 100644
--- a/Source/core/svg/SVGTextElement.h
+++ b/Source/core/svg/SVGTextElement.h
@@ -38,7 +38,7 @@ private:
virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); }
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
- virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE;
+ virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE { return true; }
};
DEFINE_NODE_TYPE_CASTS(SVGTextElement, hasTagName(SVGNames::textTag));

Powered by Google App Engine
This is Rietveld 408576698