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

Side by Side Diff: third_party/WebKit/Source/core/animation/InterpolationEnvironment.h

Issue 1394343003: Web Animations: Remove CSS dependence from InterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_specialCase0and1
Patch Set: NIVs Created 5 years, 1 month 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 #ifndef InterpolationEnvironment_h
6 #define InterpolationEnvironment_h
7
8 #include "wtf/Allocator.h"
9
10 namespace blink {
11
12 class StyleResolverState;
13
14 class InterpolationEnvironment {
15 STACK_ALLOCATED();
16 public:
17 explicit InterpolationEnvironment(StyleResolverState& state)
18 : m_state(&state)
19 { }
20
21 StyleResolverState& state() { ASSERT(m_state); return *m_state; }
22 const StyleResolverState& state() const { ASSERT(m_state); return *m_state; }
23
24 private:
25 StyleResolverState* m_state;
26 };
27
28 } // namespace blink
29
30 #endif // InterpolationEnvironment_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698