| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 78d02a87c11a1c59fab1f61efe381b2dd8aebd62..52fade15a83e79e89e3df2843300fd9c2c2ea4ca 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -237,6 +237,8 @@ LayoutObject::LayoutObject(Node* node)
|
| if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| m_previousPositionFromPaintInvalidationBacking = uninitializedPaintOffset();
|
| InstanceCounters::incrementCounter(InstanceCounters::LayoutObjectCounter);
|
| + if (m_node)
|
| + frameView()->incrementLayoutObjectCount();
|
| }
|
|
|
| LayoutObject::~LayoutObject()
|
|
|