| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index ded24777fc93352efa5270495cbf6fd8340df234..7743fb989c06e4315eb767ee7a50a88ad9147bc0 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -72,6 +72,7 @@
|
| #include "core/page/Page.h"
|
| #include "core/page/scrolling/ScrollingCoordinator.h"
|
| #include "core/paint/FilterEffectBuilder.h"
|
| +#include "core/paint/PaintTiming.h"
|
| #include "platform/LengthFunctions.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/TraceEvent.h"
|
| @@ -2716,6 +2717,13 @@ void PaintLayer::clearNeedsRepaintRecursively()
|
| m_needsRepaint = false;
|
| }
|
|
|
| +PaintTiming* PaintLayer::paintTiming()
|
| +{
|
| + if (Node* node = layoutObject()->node())
|
| + return &PaintTiming::from(node->document());
|
| + return nullptr;
|
| +}
|
| +
|
| DisableCompositingQueryAsserts::DisableCompositingQueryAsserts()
|
| : m_disabler(gCompositingQueryMode, CompositingQueriesAreAllowed) { }
|
|
|
|
|