Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
index 214cb9efb2bf1c65ac8debe15e65064b95c7f0cc..5d5c9c437b7f98cb077ecc2cd67cecc5075a264b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
@@ -216,21 +216,6 @@ protected: |
RefPtr<DrawingBufferForTests> m_drawingBuffer; |
}; |
-TEST_F(DrawingBufferTest, testPaintRenderingResultsToCanvas) |
-{ |
- OwnPtr<ImageBufferSurface> imageBufferSurface = adoptPtr(new UnacceleratedImageBufferSurface(IntSize(initialWidth, initialHeight))); |
- EXPECT_FALSE(!imageBufferSurface); |
- EXPECT_TRUE(imageBufferSurface->isValid()); |
- OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(imageBufferSurface.release()); |
- EXPECT_FALSE(!imageBuffer); |
- EXPECT_FALSE(imageBuffer->isAccelerated()); |
- EXPECT_FALSE(!imageBuffer->newImageSnapshot()); |
- m_drawingBuffer->paintRenderingResultsToCanvas(imageBuffer.get()); |
- EXPECT_FALSE(imageBuffer->isAccelerated()); |
- EXPECT_FALSE(!imageBuffer->newImageSnapshot()); |
- m_drawingBuffer->beginDestruction(); |
-} |
- |
TEST_F(DrawingBufferTest, verifyResizingProperlyAffectsMailboxes) |
{ |
WebExternalTextureMailbox mailbox; |