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

Side by Side Diff: sky/engine/core/editing/PositionWithAffinity.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 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 "config.h" 5 #include "config.h"
6 #include "core/editing/PositionWithAffinity.h" 6 #include "core/editing/PositionWithAffinity.h"
7 7
8 namespace blink { 8 namespace blink {
9 9
10 PositionWithAffinity::PositionWithAffinity(const Position& position, EAffinity a ffinity) 10 PositionWithAffinity::PositionWithAffinity(const Position& position, EAffinity a ffinity)
11 : m_position(position) 11 : m_position(position)
12 , m_affinity(affinity) 12 , m_affinity(affinity)
13 { 13 {
14 } 14 }
15 15
16 PositionWithAffinity::PositionWithAffinity() 16 PositionWithAffinity::PositionWithAffinity()
17 : m_affinity(DOWNSTREAM) 17 : m_affinity(DOWNSTREAM)
18 { 18 {
19 } 19 }
20 20
21 PositionWithAffinity::~PositionWithAffinity() 21 PositionWithAffinity::~PositionWithAffinity()
22 { 22 {
23 } 23 }
24 24
25 void PositionWithAffinity::trace(Visitor* visitor)
26 {
27 visitor->trace(m_position);
28 }
29
30 } // namespace blink 25 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/editing/PositionWithAffinity.h ('k') | sky/engine/core/editing/RemoveNodeCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698