| OLD | NEW | 
|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 StylePath_h | 5 #ifndef StylePath_h | 
| 6 #define StylePath_h | 6 #define StylePath_h | 
| 7 | 7 | 
|  | 8 #include <memory> | 
| 8 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" | 
| 9 #include "wtf/PassRefPtr.h" | 10 #include "wtf/PassRefPtr.h" | 
| 10 #include "wtf/RefCounted.h" | 11 #include "wtf/RefCounted.h" | 
| 11 #include "wtf/RefPtr.h" | 12 #include "wtf/RefPtr.h" | 
| 12 #include <memory> |  | 
| 13 | 13 | 
| 14 namespace blink { | 14 namespace blink { | 
| 15 | 15 | 
| 16 class CSSValue; | 16 class CSSValue; | 
| 17 class Path; | 17 class Path; | 
| 18 class SVGPathByteStream; | 18 class SVGPathByteStream; | 
| 19 | 19 | 
| 20 class StylePath : public RefCounted<StylePath> { | 20 class StylePath : public RefCounted<StylePath> { | 
| 21  public: | 21  public: | 
| 22   static PassRefPtr<StylePath> create(std::unique_ptr<SVGPathByteStream>); | 22   static PassRefPtr<StylePath> create(std::unique_ptr<SVGPathByteStream>); | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
| 38   explicit StylePath(std::unique_ptr<SVGPathByteStream>); | 38   explicit StylePath(std::unique_ptr<SVGPathByteStream>); | 
| 39 | 39 | 
| 40   std::unique_ptr<SVGPathByteStream> m_byteStream; | 40   std::unique_ptr<SVGPathByteStream> m_byteStream; | 
| 41   mutable std::unique_ptr<Path> m_path; | 41   mutable std::unique_ptr<Path> m_path; | 
| 42   mutable float m_pathLength; | 42   mutable float m_pathLength; | 
| 43 }; | 43 }; | 
| 44 | 44 | 
| 45 }  // namespace blink | 45 }  // namespace blink | 
| 46 | 46 | 
| 47 #endif  // StylePath_h | 47 #endif  // StylePath_h | 
| OLD | NEW | 
|---|