Index: third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm |
diff --git a/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm b/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm |
index a422f07b79dad6353c271e33e2eb0736f14f3ffc..b000114831f0e03d5c42eb6479c24b72fc143e05 100644 |
--- a/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm |
+++ b/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm |
@@ -36,7 +36,7 @@ void RunTest(TestType test) { |
} |
{ |
SkIRect clip = |
- SkIRect::MakeSize(canvas.getBaseLayerSize()) |
+ SkIRect::MakeWH(kWidth, kHeight) |
.makeOffset( |
(test & kTestTranslate) ? -(static_cast<int>(kWidth)) / 2 : 0, |
0); |