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

Unified Diff: Source/core/css/KeyframeStyleRuleCSSStyleDeclaration.cpp

Issue 814083003: Update animation when changes in animation keyframes are detected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase + Address comments Created 5 years, 11 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/css/KeyframeStyleRuleCSSStyleDeclaration.cpp
diff --git a/Source/core/css/KeyframeStyleRuleCSSStyleDeclaration.cpp b/Source/core/css/KeyframeStyleRuleCSSStyleDeclaration.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..fe9414274e7f13bf8d6c92c6fa3c00eb6356f909
--- /dev/null
+++ b/Source/core/css/KeyframeStyleRuleCSSStyleDeclaration.cpp
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "core/css/KeyframeStyleRuleCSSStyleDeclaration.h"
+
+#include "core/css/CSSKeyframesRule.h"
+
+namespace blink {
+
+KeyframeStyleRuleCSSStyleDeclaration::KeyframeStyleRuleCSSStyleDeclaration(MutableStylePropertySet& propertySetArg, CSSKeyframeRule* parentRule)
+ : StyleRuleCSSStyleDeclaration(propertySetArg, parentRule)
+{
+}
+
+void KeyframeStyleRuleCSSStyleDeclaration::didMutate(MutationType type)
+{
+ StyleRuleCSSStyleDeclaration::didMutate(type);
+ toCSSKeyframesRule(m_parentRule->parentRule())->styleChanged();
+}
+
+} // namespace blink
« no previous file with comments | « Source/core/css/KeyframeStyleRuleCSSStyleDeclaration.h ('k') | Source/core/css/PropertySetCSSStyleDeclaration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698