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

Unified Diff: Source/core/layout/svg/LayoutSVGContainer.cpp

Issue 921633007: Move the SVG container code from rendering/svg to layout/svg. (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
« no previous file with comments | « Source/core/layout/svg/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGHiddenContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGContainer.cpp
diff --git a/Source/core/layout/svg/LayoutSVGContainer.cpp b/Source/core/layout/svg/LayoutSVGContainer.cpp
index ef50ef72dc4cd3f6a7f9cf8963eb1c5d6ce6935c..1822bd81ae99bd914affd61f6be029a615f2eea8 100644
--- a/Source/core/layout/svg/LayoutSVGContainer.cpp
+++ b/Source/core/layout/svg/LayoutSVGContainer.cpp
@@ -48,13 +48,13 @@ void LayoutSVGContainer::layout()
{
ASSERT(needsLayout());
- // Allow RenderSVGViewportContainer to update its viewport.
+ // Allow LayoutSVGViewportContainer to update its viewport.
calcViewport();
- // Allow RenderSVGTransformableContainer to update its transform.
+ // Allow LayoutSVGTransformableContainer to update its transform.
bool updatedTransform = calculateLocalTransform();
- // RenderSVGViewportContainer needs to set the 'layout size changed' flag.
+ // LayoutSVGViewportContainer needs to set the 'layout size changed' flag.
determineIfLayoutSizeChanged();
SVGLayoutSupport::layoutChildren(this, selfNeedsLayout() || SVGLayoutSupport::filtersForceContainerLayout(this));
@@ -162,7 +162,7 @@ void LayoutSVGContainer::updateCachedBoundaries()
bool LayoutSVGContainer::nodeAtFloatPoint(const HitTestRequest& request, HitTestResult& result, const FloatPoint& pointInParent, HitTestAction hitTestAction)
{
- // Give RenderSVGViewportContainer a chance to apply its viewport clip
+ // Give LayoutSVGViewportContainer a chance to apply its viewport clip
if (!pointIsInsideViewportClip(pointInParent))
return false;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGHiddenContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698