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

Unified Diff: Source/core/rendering/svg/RenderSVGForeignObject.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: Source/core/rendering/svg/RenderSVGForeignObject.cpp
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.cpp b/Source/core/rendering/svg/RenderSVGForeignObject.cpp
index 30d79601bdabe0807149aba8da005aa2d712f9f5..2fe3de5e202ec2b98e09e718cc3f75b0f3ec8ad9 100644
--- a/Source/core/rendering/svg/RenderSVGForeignObject.cpp
+++ b/Source/core/rendering/svg/RenderSVGForeignObject.cpp
@@ -42,7 +42,7 @@ RenderSVGForeignObject::~RenderSVGForeignObject()
{
}
-bool RenderSVGForeignObject::isChildAllowed(RenderObject* child, RenderStyle* style) const
+bool RenderSVGForeignObject::isChildAllowed(LayoutObject* child, RenderStyle* style) const
{
// Disallow arbitary SVG content. Only allow proper <svg xmlns="svgNS"> subdocuments.
return !child->isSVG() || child->isSVGRoot();

Powered by Google App Engine
This is Rietveld 408576698