Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
index 5d993e2df3bfe6a9c35ea5339248a6d41565cba9..9d28eda25f426db8cba2391247c2bdf5817082bd 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp |
@@ -190,7 +190,8 @@ void OffscreenCanvasFrameDispatcherImpl::dispatchFrame( |
const gfx::Rect bounds(m_width, m_height); |
const cc::RenderPassId renderPassId(1, 1); |
std::unique_ptr<cc::RenderPass> pass = cc::RenderPass::Create(); |
- pass->SetAll(renderPassId, bounds, bounds, gfx::Transform(), false); |
+ pass->SetNew(renderPassId, bounds, bounds, gfx::Transform()); |
+ pass->has_transparent_background = false; |
cc::SharedQuadState* sqs = pass->CreateAndAppendSharedQuadState(); |
sqs->SetAll(gfx::Transform(), bounds.size(), bounds, bounds, false, 1.f, |