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

Side by Side Diff: Source/core/animation/CSSValueAnimationType.cpp

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "config.h"
6 #include "core/animation/CSSValueAnimationType.h"
7
8 #include "core/css/resolver/StyleBuilder.h"
9
10 namespace blink {
11
12 AnimationValue* CSSValueAnimationType::maybeConvertSingle(const CSSPropertySpeci ficKeyframe& keyframe, const StyleResolverState*, ConversionCheckers&) const
13 {
14 return AnimationValue::create(*this, InterpolableList::create(0), DefaultNon InterpolableValue::create(keyframe.value()));
15 }
16
17 void CSSValueAnimationType::apply(const InterpolableValue&, const NonInterpolabl eValue* nonInterpolableValue, StyleResolverState& state) const
18 {
19 StyleBuilder::applyProperty(m_property, state, toDefaultNonInterpolableValue (nonInterpolableValue)->cssValue());
20 }
21
22 DEFINE_NON_INTERPOLABLE_VALUE_TYPE(DefaultNonInterpolableValue);
23
24 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationTimelineTest.cpp ('k') | Source/core/animation/CSSValueInterpolationType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698