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

Unified Diff: Source/core/animation/ActiveAnimations.cpp

Issue 635203003: Skip rule matching during animations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid RenderStyle.h include Created 6 years, 2 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: Source/core/animation/ActiveAnimations.cpp
diff --git a/Source/core/animation/ActiveAnimations.cpp b/Source/core/animation/ActiveAnimations.cpp
index 586de09c0a5368685d59bb9d04f755fa34cc107a..02a1a78f6388ee10898a72b0b459a43fee3ddee3 100644
--- a/Source/core/animation/ActiveAnimations.cpp
+++ b/Source/core/animation/ActiveAnimations.cpp
@@ -35,6 +35,11 @@
namespace blink {
+ActiveAnimations::ActiveAnimations()
+ : m_animationStyleChange(false)
+{
+}
+
ActiveAnimations::~ActiveAnimations()
{
#if !ENABLE(OILPAN)
@@ -85,4 +90,13 @@ void ActiveAnimations::trace(Visitor* visitor)
#endif
}
+void ActiveAnimations::setBaseRenderStyle(PassRefPtr<RenderStyle> renderStyle)
+{
+#if ENABLE(ASSERT)
+ if (m_baseRenderStyle && renderStyle)
+ ASSERT(*m_baseRenderStyle == *renderStyle);
+#endif
+ m_baseRenderStyle = renderStyle;
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698