| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "sky/engine/config.h" | |
| 6 #include "sky/engine/core/editing/PositionWithAffinity.h" | 5 #include "sky/engine/core/editing/PositionWithAffinity.h" |
| 7 | 6 |
| 8 namespace blink { | 7 namespace blink { |
| 9 | 8 |
| 10 PositionWithAffinity::PositionWithAffinity(const Position& position, EAffinity a
ffinity) | 9 PositionWithAffinity::PositionWithAffinity(const Position& position, EAffinity a
ffinity) |
| 11 : m_position(position) | 10 : m_position(position) |
| 12 , m_affinity(affinity) | 11 , m_affinity(affinity) |
| 13 { | 12 { |
| 14 } | 13 } |
| 15 | 14 |
| 16 PositionWithAffinity::PositionWithAffinity() | 15 PositionWithAffinity::PositionWithAffinity() |
| 17 : m_affinity(DOWNSTREAM) | 16 : m_affinity(DOWNSTREAM) |
| 18 { | 17 { |
| 19 } | 18 } |
| 20 | 19 |
| 21 PositionWithAffinity::~PositionWithAffinity() | 20 PositionWithAffinity::~PositionWithAffinity() |
| 22 { | 21 { |
| 23 } | 22 } |
| 24 | 23 |
| 25 } // namespace blink | 24 } // namespace blink |
| OLD | NEW |