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

Unified Diff: Source/core/page/PageAnimator.h

Issue 202533003: Don't schedule an animation during compositing dirty-bit setting unless needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add null check. Created 6 years, 9 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/page/PageAnimator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageAnimator.h
diff --git a/Source/core/page/PageAnimator.h b/Source/core/page/PageAnimator.h
index 47a4b9cbe24afecde3d8ba429bb2b85eae179f0f..5c8d9e5c240fe776b1aec25fd6f523d2b0f66920 100644
--- a/Source/core/page/PageAnimator.h
+++ b/Source/core/page/PageAnimator.h
@@ -18,11 +18,13 @@ public:
void setAnimationFramePending() { m_animationFramePending = true; }
bool isServicingAnimations() const { return m_servicingAnimations; }
+ void updateLayoutAndStyleForPainting();
private:
Page* m_page;
bool m_animationFramePending;
bool m_servicingAnimations;
+ bool m_updatingLayoutAndStyleForPainting;
};
}
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/page/PageAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698