| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/editing/commands/UndoStep.h" | 5 #include "core/editing/commands/UndoStep.h" |
| 6 | 6 |
| 7 #include "core/editing/Editor.h" | 7 #include "core/editing/Editor.h" |
| 8 #include "core/editing/commands/EditCommand.h" | 8 #include "core/editing/commands/EditCommand.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 m_endingRootEditableElement = selection.rootEditableElement(); | 95 m_endingRootEditableElement = selection.rootEditableElement(); |
| 96 } | 96 } |
| 97 | 97 |
| 98 DEFINE_TRACE(EditCommandComposition) { | 98 DEFINE_TRACE(EditCommandComposition) { |
| 99 visitor->trace(m_document); | 99 visitor->trace(m_document); |
| 100 visitor->trace(m_startingSelection); | 100 visitor->trace(m_startingSelection); |
| 101 visitor->trace(m_endingSelection); | 101 visitor->trace(m_endingSelection); |
| 102 visitor->trace(m_commands); | 102 visitor->trace(m_commands); |
| 103 visitor->trace(m_startingRootEditableElement); | 103 visitor->trace(m_startingRootEditableElement); |
| 104 visitor->trace(m_endingRootEditableElement); | 104 visitor->trace(m_endingRootEditableElement); |
| 105 UndoStep::trace(visitor); | |
| 106 } | 105 } |
| 107 | 106 |
| 108 } // namespace blink | 107 } // namespace blink |
| OLD | NEW |