Index: Source/core/paint/LayerClipRecorderTest.cpp |
diff --git a/Source/core/paint/LayerClipRecorderTest.cpp b/Source/core/paint/LayerClipRecorderTest.cpp |
index b25c38cb15e1eb312a8b3a56dfe536ff456b4fa8..75b018333fbd804c885bbce0b3b7968bd754b141 100644 |
--- a/Source/core/paint/LayerClipRecorderTest.cpp |
+++ b/Source/core/paint/LayerClipRecorderTest.cpp |
@@ -44,14 +44,14 @@ void drawEmptyClip(GraphicsContext* context, LayoutView* renderer, PaintPhase ph |
{ |
LayoutRect rect(1, 1, 9, 9); |
ClipRect clipRect(rect); |
- LayerClipRecorder LayerClipRecorder(renderer->compositor()->rootLayer()->renderer(), context, DisplayItem::ClipLayerForeground, clipRect, 0, LayoutPoint(), PaintLayerFlags()); |
+ LayerClipRecorder LayerClipRecorder(renderer->compositor()->rootLayer()->layoutObject(), context, DisplayItem::ClipLayerForeground, clipRect, 0, LayoutPoint(), PaintLayerFlags()); |
} |
void drawRectInClip(GraphicsContext* context, LayoutView* renderer, PaintPhase phase, const FloatRect& bound) |
{ |
IntRect rect(1, 1, 9, 9); |
ClipRect clipRect((LayoutRect(rect))); |
- LayerClipRecorder LayerClipRecorder(renderer->compositor()->rootLayer()->renderer(), context, DisplayItem::ClipLayerForeground, clipRect, 0, LayoutPoint(), PaintLayerFlags()); |
+ LayerClipRecorder LayerClipRecorder(renderer->compositor()->rootLayer()->layoutObject(), context, DisplayItem::ClipLayerForeground, clipRect, 0, LayoutPoint(), PaintLayerFlags()); |
RenderDrawingRecorder drawingRecorder(context, *renderer, phase, bound); |
if (!drawingRecorder.canUseCachedDrawing()) |
context->drawRect(rect); |