| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| index 26f74ec8bb84d91ae85a2125af480ac43b364989..3c6e4f03d805a13bed938b7bc65b5a0912323c9e 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -194,6 +194,12 @@ void updateDescendantDependentFlagsForEntireSubtree(PaintLayer& layer)
|
|
|
| void PaintLayerCompositor::updateIfNeededRecursive()
|
| {
|
| + SCOPED_BLINK_UMA_HISTOGRAM_TIMER("Blink.Compositing.UpdateUs");
|
| + updateIfNeededRecursiveInternal();
|
| +}
|
| +
|
| +void PaintLayerCompositor::updateIfNeededRecursiveInternal()
|
| +{
|
| FrameView* view = m_layoutView.frameView();
|
| if (view->shouldThrottleRendering())
|
| return;
|
| @@ -206,7 +212,7 @@ void PaintLayerCompositor::updateIfNeededRecursive()
|
| // the frame tree is in an inconsistent state, such as in the middle of frame detach.
|
| // TODO(bbudge) Remove this check when trusted Pepper plugins are gone.
|
| if (localFrame->document()->isActive() && localFrame->contentLayoutObject())
|
| - localFrame->contentLayoutObject()->compositor()->updateIfNeededRecursive();
|
| + localFrame->contentLayoutObject()->compositor()->updateIfNeededRecursiveInternal();
|
| }
|
|
|
| TRACE_EVENT0("blink", "PaintLayerCompositor::updateIfNeededRecursive");
|
|
|