| Index: third_party/WebKit/Source/core/frame/FrameView.h
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
|
| index bb4943f1117c9d1082d8d0242211e3e8326297a9..e9fc5d1d99cf92a8ae0a2838de882ecd3f9a906f 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.h
|
| @@ -579,6 +579,13 @@ public:
|
| bool canThrottleRendering() const;
|
| bool isHiddenForThrottling() const { return m_hiddenForThrottling; }
|
|
|
| + void invalidatePaintIfNeeded();
|
| + void invalidatePaintIfNeededForSlimmingPaintV2() const
|
| + {
|
| + ASSERT(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
| + const_cast<FrameView*>(this)->invalidatePaintIfNeeded();
|
| + }
|
| +
|
| // Paint properties for SPv2 Only.
|
| void setPreTranslation(PassRefPtr<TransformPaintPropertyNode> preTranslation) { m_preTranslation = preTranslation; }
|
| TransformPaintPropertyNode* preTranslation() const { return m_preTranslation.get(); }
|
|
|