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

Unified Diff: sky/engine/core/dom/Node.cpp

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/dom/ElementRareData.cpp ('k') | sky/engine/core/dom/Position.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Node.cpp
diff --git a/sky/engine/core/dom/Node.cpp b/sky/engine/core/dom/Node.cpp
index ad9cf12a6fda3b3b1781de8402fe7a6a5e613988..b5654c504ec9ac0e9c4a47fbc50042c3495102ac 100644
--- a/sky/engine/core/dom/Node.cpp
+++ b/sky/engine/core/dom/Node.cpp
@@ -608,17 +608,11 @@ void Node::setNeedsStyleRecalc(StyleChangeType changeType)
if (existingChangeType == NoStyleChange)
markAncestorsWithChildNeedsStyleRecalc();
-
- if (isElementNode() && hasRareData())
- toElement(*this).setAnimationStyleChange(false);
}
void Node::clearNeedsStyleRecalc()
{
m_nodeFlags &= ~StyleChangeMask;
-
- if (isElementNode() && hasRareData())
- toElement(*this).setAnimationStyleChange(false);
}
bool Node::inActiveDocument() const
« no previous file with comments | « sky/engine/core/dom/ElementRareData.cpp ('k') | sky/engine/core/dom/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698