| Index: Source/web/tests/TransparencyWinTest.cpp
|
| diff --git a/Source/web/tests/TransparencyWinTest.cpp b/Source/web/tests/TransparencyWinTest.cpp
|
| index b5ca56ff42da3ff11a49bd28b3e903d9c218efc5..9c53925487d55b20647da9a8219a2461f52328e8 100644
|
| --- a/Source/web/tests/TransparencyWinTest.cpp
|
| +++ b/Source/web/tests/TransparencyWinTest.cpp
|
| @@ -340,7 +340,7 @@ TEST(TransparencyWin, OpaqueCompositeLayerPixel)
|
| }
|
|
|
| // Finish the compositing.
|
| - src->context()->endTransparencyLayer();
|
| + src->context()->endLayer();
|
|
|
| // Check that we got the right values, it should be like the rectangle was
|
| // drawn with half opacity even though the alpha channel got messed up.
|
| @@ -504,7 +504,7 @@ TEST(TransparencyWin, RotateOpaqueCompositeLayer)
|
| }
|
|
|
| // Finish the compositing.
|
| - src->context()->endTransparencyLayer();
|
| + src->context()->endLayer();
|
|
|
| // Top corner should be the original background.
|
| EXPECT_EQ(white, getPixelAt(src->context(), 0, 0));
|
| @@ -673,7 +673,7 @@ TEST(TransparencyWin, ScaleTransparency)
|
|
|
| // Finish the layer.
|
| src->context()->restore();
|
| - src->context()->endTransparencyLayer();
|
| + src->context()->endLayer();
|
|
|
| Color redBackground(0xFFFF8080); // 50% red composited on white.
|
| EXPECT_EQ(redBackground, getPixelAt(src->context(), 0, 0));
|
|
|