Index: Source/core/paint/LayerClipRecorderTest.cpp |
diff --git a/Source/core/paint/LayerClipRecorderTest.cpp b/Source/core/paint/LayerClipRecorderTest.cpp |
index e05a1b9b100ac24b9286eec9b6d9c37fd8f720f5..0a47f17477b90d8b3381d750c83bf1e68694aaaa 100644 |
--- a/Source/core/paint/LayerClipRecorderTest.cpp |
+++ b/Source/core/paint/LayerClipRecorderTest.cpp |
@@ -60,8 +60,8 @@ void drawRectInClip(GraphicsContext& context, LayoutView& layoutView, PaintPhase |
IntRect rect(1, 1, 9, 9); |
ClipRect clipRect((LayoutRect(rect))); |
LayerClipRecorder LayerClipRecorder(context, *layoutView.compositor()->rootLayer()->layoutObject(), DisplayItem::ClipLayerForeground, clipRect, 0, LayoutPoint(), PaintLayerFlags()); |
- if (!LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(context, layoutView, phase)) { |
- LayoutObjectDrawingRecorder drawingRecorder(context, layoutView, phase, bound); |
+ if (!LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(context, layoutView, phase, LayoutPoint())) { |
+ LayoutObjectDrawingRecorder drawingRecorder(context, layoutView, phase, bound, LayoutPoint()); |
context.drawRect(rect); |
} |
} |