| Index: third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ViewPainter.cpp b/third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| index 9feee6fa57d7bd0a78e304e8956ec46f9fbcef80..10ab8fc21e500a7fff413da9cbab22682db0800f 100644
|
| --- a/third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ViewPainter.cpp
|
| @@ -25,6 +25,10 @@ void ViewPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
| // LayoutViews should never be called to paint with an offset not on device pixels.
|
| ASSERT(LayoutPoint(IntPoint(paintOffset.x(), paintOffset.y())) == paintOffset);
|
|
|
| + const FrameView* frameView = m_layoutView.frameView();
|
| + if (frameView->shouldThrottleRenderingPipeline())
|
| + return;
|
| +
|
| m_layoutView.paintObject(paintInfo, paintOffset);
|
| BlockPainter(m_layoutView).paintOverflowControlsIfNeeded(paintInfo, paintOffset);
|
| }
|
|
|