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

Unified Diff: Source/core/layout/PaintInvalidationState.cpp

Issue 933953003: Move the remaining rendering/svg/RenderSVG* files to layout. (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/PaintInvalidationState.h ('k') | Source/core/layout/style/SVGLayoutStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/PaintInvalidationState.cpp
diff --git a/Source/core/layout/PaintInvalidationState.cpp b/Source/core/layout/PaintInvalidationState.cpp
index c60b4c1bf074eb75812a461c667f590e3e6feb90..7d018389b63c46625679cc9007fdbfdd9562889a 100644
--- a/Source/core/layout/PaintInvalidationState.cpp
+++ b/Source/core/layout/PaintInvalidationState.cpp
@@ -6,10 +6,10 @@
#include "core/layout/PaintInvalidationState.h"
#include "core/layout/Layer.h"
+#include "core/layout/svg/LayoutSVGModelObject.h"
+#include "core/layout/svg/LayoutSVGRoot.h"
#include "core/rendering/RenderInline.h"
#include "core/rendering/RenderView.h"
-#include "core/rendering/svg/RenderSVGModelObject.h"
-#include "core/rendering/svg/RenderSVGRoot.h"
#include "platform/Partitions.h"
namespace blink {
@@ -78,7 +78,7 @@ PaintInvalidationState::PaintInvalidationState(const PaintInvalidationState& nex
}
if (m_cachedOffsetsEnabled && renderer.isSVGRoot()) {
- const RenderSVGRoot& svgRoot = toRenderSVGRoot(renderer);
+ const LayoutSVGRoot& svgRoot = toLayoutSVGRoot(renderer);
m_svgTransform = adoptPtr(new AffineTransform(svgRoot.localToBorderBoxTransform()));
if (svgRoot.shouldApplyViewportClip())
addClipRectRelativeToPaintOffset(LayoutSize(svgRoot.pixelSnappedSize()));
@@ -89,7 +89,7 @@ PaintInvalidationState::PaintInvalidationState(const PaintInvalidationState& nex
// FIXME: <http://bugs.webkit.org/show_bug.cgi?id=13443> Apply control clip if present.
}
-PaintInvalidationState::PaintInvalidationState(const PaintInvalidationState& next, const RenderSVGModelObject& renderer)
+PaintInvalidationState::PaintInvalidationState(const PaintInvalidationState& next, const LayoutSVGModelObject& renderer)
: m_clipped(next.m_clipped)
, m_cachedOffsetsEnabled(next.m_cachedOffsetsEnabled)
, m_forceCheckForPaintInvalidation(next.m_forceCheckForPaintInvalidation)
« no previous file with comments | « Source/core/layout/PaintInvalidationState.h ('k') | Source/core/layout/style/SVGLayoutStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698