Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp

Issue 1407133017: Cleanup some dead code in blink::ImageBuffer and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698