| 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 0635acd1920d9dcd36fdcd8352606b7c30af75e7..007a02c69dae553346cd6bd4adee15997e970b56 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.UpdateTime");
|
| + 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");
|
|
|