Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index da2d6b9dd34c72a10f556b368f004339284d6548..043fe3355756a57f57c868ed64ae34d1952fe2d4 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -284,14 +284,6 @@ static void TestDeferredCanvasFreshFrame(skiatest::Reporter* reporter) { |
canvas->restore(); |
REPORTER_ASSERT(reporter, !canvas->isFreshFrame()); |
- // Verify that a clear with clipping triggers a fresh frame |
- // (clear is not affected by clipping) |
- canvas->save(); |
- canvas->clipRect(partialRect, SkRegion::kIntersect_Op, false); |
- canvas->clear(0x00000000); |
- canvas->restore(); |
- REPORTER_ASSERT(reporter, canvas->isFreshFrame()); |
- |
// Verify that full frame rects with different forms of opaque paint |
// trigger frames to be marked as fresh |
{ |