| 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 94ca11eb5669da1ec0491ae13997b17c1625dd2c..0893dc53e4cc147e85245626992b4b954d0a76ba 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -72,7 +72,6 @@
|
| #include "core/page/Page.h"
|
| #include "core/page/scrolling/ScrollingCoordinator.h"
|
| #include "core/paint/FilterEffectBuilder.h"
|
| -#include "core/paint/ObjectPaintProperties.h"
|
| #include "platform/LengthFunctions.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/TraceEvent.h"
|
| @@ -2723,22 +2722,6 @@ void PaintLayer::clearNeedsRepaintRecursively()
|
| m_needsRepaint = false;
|
| }
|
|
|
| -ObjectPaintProperties& PaintLayer::mutablePaintProperties()
|
| -{
|
| - ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - ASSERT(layoutObject()->document().lifecycle().state() == DocumentLifecycle::InUpdatePaintProperties);
|
| - if (!m_paintProperties)
|
| - m_paintProperties = ObjectPaintProperties::create();
|
| - return *m_paintProperties;
|
| -}
|
| -
|
| -const ObjectPaintProperties* PaintLayer::paintProperties() const
|
| -{
|
| - ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| - ASSERT(layoutObject()->document().lifecycle().state() == DocumentLifecycle::InPaint);
|
| - return m_paintProperties.get();
|
| -}
|
| -
|
| DisableCompositingQueryAsserts::DisableCompositingQueryAsserts()
|
| : m_disabler(gCompositingQueryMode, CompositingQueriesAreAllowed) { }
|
|
|
|
|