| Index: third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| index d111b1d694812eb3fb15ba74d66621215011e02b..b299e2647c524ae8301381d7318b7034fa2a3634 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| @@ -134,6 +134,8 @@ public:
|
| DocumentLifecycle& m_documentLifecycle;
|
| };
|
|
|
| + enum class ThrottlingMode { Disallow, Allow };
|
| +
|
| DocumentLifecycle();
|
| ~DocumentLifecycle();
|
|
|
| @@ -157,6 +159,9 @@ public:
|
| m_detachCount--;
|
| }
|
|
|
| + void setThrottlingMode(ThrottlingMode);
|
| + ThrottlingMode throttlingMode() const;
|
| +
|
| #if ENABLE(ASSERT)
|
| static const char* stateAsDebugString(const State);
|
| #endif
|
| @@ -169,6 +174,7 @@ private:
|
|
|
| State m_state;
|
| int m_detachCount;
|
| + ThrottlingMode m_throttlingMode;
|
| };
|
|
|
| inline bool DocumentLifecycle::stateAllowsTreeMutations() const
|
|
|