| Index: Source/core/platform/graphics/GraphicsContextTest.cpp
|
| diff --git a/Source/core/platform/graphics/GraphicsContextTest.cpp b/Source/core/platform/graphics/GraphicsContextTest.cpp
|
| index 09e1436b495a4e539634602f55644ca53c2913c4..07209d38f0df8545c1278a4804bb4e6bc762b4a1 100644
|
| --- a/Source/core/platform/graphics/GraphicsContextTest.cpp
|
| +++ b/Source/core/platform/graphics/GraphicsContextTest.cpp
|
| @@ -215,17 +215,6 @@ TEST(GraphicsContextTest, trackOpaqueClipTest)
|
| EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect());
|
| EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect());
|
| context.restore();
|
| -
|
| - OwnPtr<ImageBuffer> alphaImage = ImageBuffer::create(IntSize(100, 100));
|
| - alphaImage->context()->fillRect(IntRect(0, 0, 100, 100), alpha);
|
| -
|
| - // Clipping with a non-opaque Image (there is no way to mark an ImageBuffer as opaque today).
|
| - context.save();
|
| - context.clipToImageBuffer(alphaImage.get(), FloatRect(30, 30, 10, 10));
|
| - context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver);
|
| - context.restore();
|
| - EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect());
|
| - EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect());
|
| }
|
|
|
| TEST(GraphicsContextTest, trackImageMask)
|
|
|