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

Unified Diff: Source/core/paint/ReplicaPainter.cpp

Issue 898783003: Move rendering/RenderLayer* 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/paint/ReplacedPainter.cpp ('k') | Source/core/paint/ScrollableAreaPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ReplicaPainter.cpp
diff --git a/Source/core/paint/ReplicaPainter.cpp b/Source/core/paint/ReplicaPainter.cpp
index 7f338a390dde18f49c87e97f8375b66f96a77a21..4cc1971e771081d13adabe8e813ada6b948fd3ce 100644
--- a/Source/core/paint/ReplicaPainter.cpp
+++ b/Source/core/paint/ReplicaPainter.cpp
@@ -5,11 +5,11 @@
#include "config.h"
#include "core/paint/ReplicaPainter.h"
+#include "core/layout/Layer.h"
#include "core/paint/GraphicsContextAnnotator.h"
#include "core/paint/LayerPainter.h"
#include "core/paint/RenderDrawingRecorder.h"
#include "core/rendering/PaintInfo.h"
-#include "core/rendering/RenderLayer.h"
#include "core/rendering/RenderReplica.h"
namespace blink {
@@ -26,7 +26,7 @@ void ReplicaPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
if (paintInfo.phase == PaintPhaseForeground) {
// Turn around and paint the parent layer. Use temporary clipRects, so that the layer doesn't end up caching clip rects
// computing using the wrong rootLayer
- RenderLayer* rootPaintingLayer = m_renderReplica.layer()->transform() ? m_renderReplica.layer()->parent() : m_renderReplica.layer()->enclosingTransformedAncestor();
+ Layer* rootPaintingLayer = m_renderReplica.layer()->transform() ? m_renderReplica.layer()->parent() : m_renderReplica.layer()->enclosingTransformedAncestor();
LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(), 0);
PaintLayerFlags flags = PaintLayerHaveTransparency | PaintLayerAppliedTransform | PaintLayerUncachedClipRects | PaintLayerPaintingReflection;
LayerPainter(*m_renderReplica.layer()->parent()).paintLayer(paintInfo.context, paintingInfo, flags);
« no previous file with comments | « Source/core/paint/ReplacedPainter.cpp ('k') | Source/core/paint/ScrollableAreaPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698