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

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

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InterpolationEnvironment_h 5 #ifndef InterpolationEnvironment_h
6 #define InterpolationEnvironment_h 6 #define InterpolationEnvironment_h
7 7
8 #include "core/svg/SVGElement.h"
9 #include "core/svg/properties/SVGProperty.h"
8 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
9 #include "wtf/Allocator.h" 11 #include "wtf/Allocator.h"
10 12
11 namespace blink { 13 namespace blink {
12 14
13 class StyleResolverState; 15 class StyleResolverState;
14 class SVGPropertyBase;
15 class SVGElement;
16 16
17 class InterpolationEnvironment { 17 class InterpolationEnvironment {
18 STACK_ALLOCATED(); 18 STACK_ALLOCATED();
19 public: 19 public:
20 explicit InterpolationEnvironment(StyleResolverState& state) 20 explicit InterpolationEnvironment(StyleResolverState& state)
21 : m_state(&state) 21 : m_state(&state)
22 , m_svgElement(nullptr) 22 , m_svgElement(nullptr)
23 , m_svgBaseValue(nullptr) 23 , m_svgBaseValue(nullptr)
24 { } 24 { }
25 25
(...skipping 13 matching lines...) Expand all
39 39
40 private: 40 private:
41 StyleResolverState* m_state; 41 StyleResolverState* m_state;
42 RawPtrWillBeMember<SVGElement> m_svgElement; 42 RawPtrWillBeMember<SVGElement> m_svgElement;
43 RawPtrWillBeMember<const SVGPropertyBase> m_svgBaseValue; 43 RawPtrWillBeMember<const SVGPropertyBase> m_svgBaseValue;
44 }; 44 };
45 45
46 } // namespace blink 46 } // namespace blink
47 47
48 #endif // InterpolationEnvironment_h 48 #endif // InterpolationEnvironment_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698