| Index: third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| index 869bd75896d1d502b0f059904c10e71540cc1fc8..3890d39172582e3809042b9e2aa3291a4758a732 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| @@ -2228,38 +2228,6 @@ class PaintControllerUnderInvalidationTest
|
| DisplayItemClient::endShouldKeepAliveAllClients();
|
| #endif
|
| }
|
| -
|
| - void testFoldCompositingDrawingInSubsequence() {
|
| - FakeDisplayItemClient container("container");
|
| - FakeDisplayItemClient content("content");
|
| - GraphicsContext context(getPaintController());
|
| -
|
| - {
|
| - SubsequenceRecorder subsequence(context, container);
|
| - CompositingRecorder compositing(context, content, SkBlendMode::kSrc, 0.5);
|
| - drawRect(context, content, backgroundDrawingType,
|
| - FloatRect(100, 100, 300, 300));
|
| - }
|
| - getPaintController().commitNewDisplayItems();
|
| - EXPECT_EQ(3u,
|
| - getPaintController().paintArtifact().getDisplayItemList().size());
|
| -
|
| - {
|
| - EXPECT_FALSE(SubsequenceRecorder::useCachedSubsequenceIfPossible(
|
| - context, container));
|
| - SubsequenceRecorder subsequence(context, container);
|
| - CompositingRecorder compositing(context, content, SkBlendMode::kSrc, 0.5);
|
| - drawRect(context, content, backgroundDrawingType,
|
| - FloatRect(100, 100, 300, 300));
|
| - }
|
| - getPaintController().commitNewDisplayItems();
|
| - EXPECT_EQ(3u,
|
| - getPaintController().paintArtifact().getDisplayItemList().size());
|
| -
|
| -#if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS
|
| - DisplayItemClient::endShouldKeepAliveAllClients();
|
| -#endif
|
| - }
|
| };
|
|
|
| TEST_F(PaintControllerUnderInvalidationTest, ChangeDrawing) {
|
| @@ -2314,11 +2282,6 @@ TEST_F(PaintControllerUnderInvalidationTest, InvalidationInSubsequence) {
|
| testInvalidationInSubsequence();
|
| }
|
|
|
| -TEST_F(PaintControllerUnderInvalidationTest,
|
| - FoldCompositingDrawingInSubsequence) {
|
| - testFoldCompositingDrawingInSubsequence();
|
| -}
|
| -
|
| #endif // defined(GTEST_HAS_DEATH_TEST) && !OS(ANDROID)
|
|
|
| } // namespace blink
|
|
|