| Index: Source/platform/graphics/GraphicsContextTest.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContextTest.cpp b/Source/platform/graphics/GraphicsContextTest.cpp
|
| index ec6ca6d1cc97d3b8ad3d233fc47bf7e672df05a3..938df42d6fa9e95b7335ceea9ebe19808ebb5ada 100644
|
| --- a/Source/platform/graphics/GraphicsContextTest.cpp
|
| +++ b/Source/platform/graphics/GraphicsContextTest.cpp
|
| @@ -112,7 +112,7 @@ TEST(GraphicsContextTest, trackImageMask)
|
|
|
| OwnPtr<ImageBuffer> alphaImage = ImageBuffer::create(IntSize(100, 100));
|
| EXPECT_FALSE(!alphaImage);
|
| - alphaImage->context()->fillRect(IntRect(0, 0, 100, 100), alpha);
|
| + alphaImage->canvas()->drawColor(alpha.rgb());
|
|
|
| context->drawImageBuffer(alphaImage.get(), FloatRect(10, 10, 10, 10));
|
|
|
| @@ -145,7 +145,7 @@ TEST(GraphicsContextTest, trackImageMaskWithOpaqueRect)
|
|
|
| OwnPtr<ImageBuffer> alphaImage = ImageBuffer::create(IntSize(100, 100));
|
| EXPECT_FALSE(!alphaImage);
|
| - alphaImage->context()->fillRect(IntRect(0, 0, 100, 100), alpha);
|
| + alphaImage->canvas()->drawColor(alpha.rgb());
|
|
|
| context->drawImageBuffer(alphaImage.get(), FloatRect(10, 10, 10, 10));
|
|
|
|
|