| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "core/dom/Document.h" | 5 #include "core/dom/Document.h" |
| 6 #include "core/dom/Range.h" | 6 #include "core/dom/Range.h" |
| 7 #include "core/dom/Text.h" | 7 #include "core/dom/Text.h" |
| 8 #include "core/html/HTMLElement.h" | 8 #include "core/html/HTMLElement.h" |
| 9 #include "wtf/text/StringBuilder.h" | 9 #include "wtf/text/StringBuilder.h" |
| 10 #include <ios> | 10 #include <ios> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 if (!node) | 79 if (!node) |
| 80 return ostream << "null"; | 80 return ostream << "null"; |
| 81 return ostream << *node; | 81 return ostream << *node; |
| 82 } | 82 } |
| 83 | 83 |
| 84 std::ostream& operator<<(std::ostream& ostream, const Position& position) | 84 std::ostream& operator<<(std::ostream& ostream, const Position& position) |
| 85 { | 85 { |
| 86 return printPosition(ostream, position); | 86 return printPosition(ostream, position); |
| 87 } | 87 } |
| 88 | 88 |
| 89 std::ostream& operator<<(std::ostream& ostream, const PositionInComposedTree& po
sition) | 89 std::ostream& operator<<(std::ostream& ostream, const PositionInFlatTree& positi
on) |
| 90 { | 90 { |
| 91 return printPosition(ostream, position); | 91 return printPosition(ostream, position); |
| 92 } | 92 } |
| 93 | 93 |
| 94 } // namespace blink | 94 } // namespace blink |
| OLD | NEW |