| Index: Source/platform/graphics/GraphicsContextTest.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContextTest.cpp b/Source/platform/graphics/GraphicsContextTest.cpp
|
| index b161d098239defe09ca05af842ef259f517698a3..fa2d44e9730769b32661ff8610b9683b2cb9a5b3 100644
|
| --- a/Source/platform/graphics/GraphicsContextTest.cpp
|
| +++ b/Source/platform/graphics/GraphicsContextTest.cpp
|
| @@ -115,7 +115,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));
|
|
|
| @@ -148,7 +148,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));
|
|
|
|
|