Index: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
index 992380818bb5e7d774f02d81deed8983227039ce..9a8eb8d54119d933eea3f8e3abcc85a7ad06c576 100644 |
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
@@ -140,6 +140,8 @@ void PaintArtifactCompositor::update(const PaintArtifact& paintArtifact) |
layer->SetBounds(combinedBounds.size()); |
layer->SetTransform(transformToRoot(paintChunk.properties.transform.get())); |
layer->SetIsDrawable(true); |
+ if (paintChunk.knownToBeOpaque) |
+ layer->SetContentsOpaque(true); |
layer->SetNeedsDisplay(); |
m_contentLayerClients.append(contentLayerClient.release()); |