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

Side by Side Diff: Source/core/editing/VisibleSelection.cpp

Issue 1150603002: Oilpan: fix build after r195600. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/editing/VisibleSelection.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 m_start = other.m_start; 126 m_start = other.m_start;
127 m_end = other.m_end; 127 m_end = other.m_end;
128 m_affinity = other.m_affinity; 128 m_affinity = other.m_affinity;
129 m_changeObserver = nullptr; 129 m_changeObserver = nullptr;
130 m_selectionType = other.m_selectionType; 130 m_selectionType = other.m_selectionType;
131 m_baseIsFirst = other.m_baseIsFirst; 131 m_baseIsFirst = other.m_baseIsFirst;
132 m_isDirectional = other.m_isDirectional; 132 m_isDirectional = other.m_isDirectional;
133 return *this; 133 return *this;
134 } 134 }
135 135
136 #if !ENABLE(OILPAN)
136 VisibleSelection::~VisibleSelection() 137 VisibleSelection::~VisibleSelection()
137 { 138 {
138 #if !ENABLE(OILPAN)
139 didChange(); 139 didChange();
140 }
140 #endif 141 #endif
141 }
142 142
143 VisibleSelection VisibleSelection::selectionFromContentsOfNode(Node* node) 143 VisibleSelection VisibleSelection::selectionFromContentsOfNode(Node* node)
144 { 144 {
145 ASSERT(!editingIgnoresContent(node)); 145 ASSERT(!editingIgnoresContent(node));
146 return VisibleSelection(firstPositionInNode(node), lastPositionInNode(node), DOWNSTREAM); 146 return VisibleSelection(firstPositionInNode(node), lastPositionInNode(node), DOWNSTREAM);
147 } 147 }
148 148
149 void VisibleSelection::setBase(const Position& position) 149 void VisibleSelection::setBase(const Position& position)
150 { 150 {
151 Position oldBase = m_base; 151 Position oldBase = m_base;
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 sel.showTreeForThis(); 935 sel.showTreeForThis();
936 } 936 }
937 937
938 void showTree(const blink::VisibleSelection* sel) 938 void showTree(const blink::VisibleSelection* sel)
939 { 939 {
940 if (sel) 940 if (sel)
941 sel->showTreeForThis(); 941 sel->showTreeForThis();
942 } 942 }
943 943
944 #endif 944 #endif
OLDNEW
« no previous file with comments | « Source/core/editing/VisibleSelection.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698