| OLD | NEW |
| 1 | 1 |
| 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 DoublePoint_h | 5 #ifndef DoublePoint_h |
| 6 #define DoublePoint_h | 6 #define DoublePoint_h |
| 7 | 7 |
| 8 #include <algorithm> |
| 8 #include "platform/geometry/DoubleSize.h" | 9 #include "platform/geometry/DoubleSize.h" |
| 9 #include "platform/geometry/FloatPoint.h" | 10 #include "platform/geometry/FloatPoint.h" |
| 10 #include "platform/geometry/IntPoint.h" | 11 #include "platform/geometry/IntPoint.h" |
| 11 #include "wtf/Allocator.h" | 12 #include "wtf/Allocator.h" |
| 12 #include "wtf/Forward.h" | 13 #include "wtf/Forward.h" |
| 13 #include <algorithm> | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class LayoutPoint; | 17 class LayoutPoint; |
| 18 | 18 |
| 19 class PLATFORM_EXPORT DoublePoint { | 19 class PLATFORM_EXPORT DoublePoint { |
| 20 DISALLOW_NEW(); | 20 DISALLOW_NEW(); |
| 21 | 21 |
| 22 public: | 22 public: |
| 23 DoublePoint() : m_x(0), m_y(0) {} | 23 DoublePoint() : m_x(0), m_y(0) {} |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 return DoubleSize(a.x(), a.y()); | 135 return DoubleSize(a.x(), a.y()); |
| 136 } | 136 } |
| 137 | 137 |
| 138 // Redeclared here to avoid ODR issues. | 138 // Redeclared here to avoid ODR issues. |
| 139 // See platform/testing/GeometryPrinters.h. | 139 // See platform/testing/GeometryPrinters.h. |
| 140 void PrintTo(const DoublePoint&, std::ostream*); | 140 void PrintTo(const DoublePoint&, std::ostream*); |
| 141 | 141 |
| 142 } // namespace blink | 142 } // namespace blink |
| 143 | 143 |
| 144 #endif | 144 #endif |
| OLD | NEW |