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 e8ac977842f891fb73e72fe72936989545efac16..2c55c9266d18017bb67459dde3a0ec1f16f15b6d 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp |
@@ -230,7 +230,9 @@ public: |
} |
DrawingBufferForTests(std::unique_ptr<WebGraphicsContext3DProvider> contextProvider, std::unique_ptr<Extensions3DUtil> extensionsUtil, PreserveDrawingBuffer preserve) |
- : DrawingBuffer(std::move(contextProvider), std::move(extensionsUtil), false /* discardFramebufferSupported */, true /* wantAlphaChannel */, false /* premultipliedAlpha */, preserve, false /* wantDepth */, false /* wantStencil */) |
+ : DrawingBuffer(std::move(contextProvider), std::move(extensionsUtil), false /* discardFramebufferSupported */, |
+ true /* wantAlphaChannel */, false /* premultipliedAlpha */, preserve, WebGL1, |
+ false /* wantDepth */, false /* wantStencil */) |
, m_live(0) |
{ } |
@@ -727,7 +729,8 @@ TEST(DrawingBufferDepthStencilTest, packedDepthStencilSupported) |
wantDepthBuffer, |
wantStencilBuffer, |
wantAntialiasing, |
- preserve); |
+ preserve, |
+ DrawingBuffer::WebGL1); |
// When we request a depth or a stencil buffer, we will get both. |
EXPECT_EQ(cases[i].requestDepth || cases[i].requestStencil, drawingBuffer->hasDepthBuffer()); |