| 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 d0c0e001d1fd64cf6d40c402f37b7d80c5e0a784..dddb2c82c581d9e7f70b6d3109aa5ead1555cf8f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -239,6 +239,10 @@ LayoutObject::LayoutObject(Node* node)
|
| #endif
|
| , m_bitfields(node)
|
| {
|
| + // TODO(wangxianzhu): Move this into initialization list when we enable the feature by default.
|
| + if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled())
|
| + m_previousPositionFromPaintInvalidationBacking = uninitializedPaintOffset();
|
| +
|
| #ifndef NDEBUG
|
| layoutObjectCounter.increment();
|
| #endif
|
|
|