Index: Source/core/paint/LayerClipRecorderTest.cpp |
diff --git a/Source/core/paint/LayerClipRecorderTest.cpp b/Source/core/paint/LayerClipRecorderTest.cpp |
index 0ef680413f81ac446ebd02760ddbe671bde9d38b..2ae9bf9bcfbeef37df7631c94a0f0a0bc8921b30 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); |
} |
} |