blob: 47bfa6cc2baf2560072b9e73fe2c67de17bfdf64 [file] [log] [blame]
// 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 "core/css/KeyframeStyleRuleCSSStyleDeclaration.h"
#include "core/css/CSSKeyframeRule.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