| OLD | NEW |
| 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 "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 StyleResolverState& state() { ASSERT(m_state); return *m_state; } | 32 StyleResolverState& state() { ASSERT(m_state); return *m_state; } |
| 33 const StyleResolverState& state() const { ASSERT(m_state); return *m_state;
} | 33 const StyleResolverState& state() const { ASSERT(m_state); return *m_state;
} |
| 34 | 34 |
| 35 SVGElement& svgElement() { ASSERT(m_svgElement); return *m_svgElement; } | 35 SVGElement& svgElement() { ASSERT(m_svgElement); return *m_svgElement; } |
| 36 const SVGElement& svgElement() const { ASSERT(m_svgElement); return *m_svgEl
ement; } | 36 const SVGElement& svgElement() const { ASSERT(m_svgElement); return *m_svgEl
ement; } |
| 37 | 37 |
| 38 const SVGPropertyBase& svgBaseValue() const { ASSERT(m_svgBaseValue); return
*m_svgBaseValue; } | 38 const SVGPropertyBase& svgBaseValue() const { ASSERT(m_svgBaseValue); return
*m_svgBaseValue; } |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 StyleResolverState* m_state; | 41 StyleResolverState* m_state; |
| 42 RawPtrWillBeMember<SVGElement> m_svgElement; | 42 Member<SVGElement> m_svgElement; |
| 43 RawPtrWillBeMember<const SVGPropertyBase> m_svgBaseValue; | 43 Member<const SVGPropertyBase> m_svgBaseValue; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // InterpolationEnvironment_h | 48 #endif // InterpolationEnvironment_h |
| OLD | NEW |