| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index 69f3465123c7b305a86192db653f74da449afdf4..fb6cc543c8a35a250ce84d403fac2981c30d424c 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -2144,7 +2144,8 @@ void CompositedLayerMapping::doPaintTask(const GraphicsLayerPaintInfo& paintInfo
|
| }
|
|
|
| #if ENABLE(ASSERT)
|
| - paintInfo.paintLayer->layoutObject()->assertSubtreeIsLaidOut();
|
| + if (!layoutObject()->view()->frame() || !layoutObject()->view()->frame()->shouldThrottleRendering())
|
| + paintInfo.paintLayer->layoutObject()->assertSubtreeIsLaidOut();
|
| #endif
|
|
|
| float deviceScaleFactor = blink::deviceScaleFactor(paintInfo.paintLayer->layoutObject()->frame());
|
|
|