| Index: third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/PageAnimator.cpp b/third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| index c00233ce11995c54fd9e33636cdd0ad9ed1f6aad..32db0bc9a5bbe05f98ef15faec95a0a1a1e3ad81 100644
|
| --- a/third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/PageAnimator.cpp
|
| @@ -11,6 +11,7 @@
|
| #include "core/page/Page.h"
|
| #include "core/svg/SVGDocumentExtensions.h"
|
| #include "platform/Logging.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -33,7 +34,7 @@ DEFINE_TRACE(PageAnimator)
|
|
|
| void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
|
| {
|
| - TemporaryChange<bool> servicing(m_servicingAnimations, true);
|
| + AutoReset<bool> servicing(&m_servicingAnimations, true);
|
| clock().updateTime(monotonicAnimationStartTime);
|
|
|
| HeapVector<Member<Document>, 32> documents;
|
| @@ -81,7 +82,7 @@ void PageAnimator::scheduleVisualUpdate(LocalFrame* frame)
|
| void PageAnimator::updateAllLifecyclePhases(LocalFrame& rootFrame)
|
| {
|
| FrameView* view = rootFrame.view();
|
| - TemporaryChange<bool> servicing(m_updatingLayoutAndStyleForPainting, true);
|
| + AutoReset<bool> servicing(&m_updatingLayoutAndStyleForPainting, true);
|
| view->updateAllLifecyclePhases();
|
| }
|
|
|
|
|