| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index 0e81902dd283bc0208d4d6f4d4747d09b0979088..6c62e6b1cb6c8b347cfb2d5959a019ceed59b8fb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -46,6 +46,7 @@
|
| #include "platform/graphics/PaintInvalidationReason.h"
|
| #include "platform/graphics/paint/DisplayItemClient.h"
|
| #include "platform/transforms/TransformationMatrix.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -1963,7 +1964,7 @@ public:
|
| static bool canModifyLayoutTreeStateInAnyState();
|
|
|
| private:
|
| - TemporaryChange<bool> m_disabler;
|
| + AutoReset<bool> m_disabler;
|
| };
|
|
|
| // FIXME: We should not allow paint invalidation out of paint invalidation state. crbug.com/457415
|
| @@ -1974,7 +1975,7 @@ class DisablePaintInvalidationStateAsserts {
|
| public:
|
| DisablePaintInvalidationStateAsserts();
|
| private:
|
| - TemporaryChange<bool> m_disabler;
|
| + AutoReset<bool> m_disabler;
|
| };
|
|
|
| // Allow equality comparisons of LayoutObjects by reference or pointer, interchangeably.
|
|
|