Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/WebKit/Source/core/page/PageAnimator.cpp

Issue 2151933003: Change WTF::TemporaryChange to be an alias for AutoReset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..7fff6854b5d59dc56eee65a22b077c1851ab1daa 100644
--- a/third_party/WebKit/Source/core/page/PageAnimator.cpp
+++ b/third_party/WebKit/Source/core/page/PageAnimator.cpp
@@ -33,7 +33,7 @@ DEFINE_TRACE(PageAnimator)
void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
{
- TemporaryChange<bool> servicing(m_servicingAnimations, true);
+ TemporaryChange<bool> servicing(&m_servicingAnimations, true);
clock().updateTime(monotonicAnimationStartTime);
HeapVector<Member<Document>, 32> documents;
@@ -81,7 +81,7 @@ void PageAnimator::scheduleVisualUpdate(LocalFrame* frame)
void PageAnimator::updateAllLifecyclePhases(LocalFrame& rootFrame)
{
FrameView* view = rootFrame.view();
- TemporaryChange<bool> servicing(m_updatingLayoutAndStyleForPainting, true);
+ TemporaryChange<bool> servicing(&m_updatingLayoutAndStyleForPainting, true);
view->updateAllLifecyclePhases();
}

Powered by Google App Engine
This is Rietveld 408576698