| Index: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp (revision 81030)
|
| +++ Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp (working copy)
|
| @@ -266,6 +266,11 @@
|
| // Re-enable color writes to layers, which may be partially transparent.
|
| m_context->colorMask(true, true, true, true);
|
|
|
| + // Recheck that we still have a root layer. This may become null if
|
| + // compositing gets turned off during a paint operation.
|
| + if (!m_rootLayer)
|
| + return;
|
| +
|
| // Set the root visible/content rects --- used by subsequent drawLayers calls.
|
| m_rootVisibleRect = visibleRect;
|
| m_rootContentRect = contentRect;
|
|
|