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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.cpp

Issue 2642663002: Rename class EditCommandComposition to UndoStep (Closed)
Patch Set: Remove a redundant TODO Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/Editor.cpp
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
index 0974f5564b067594dd32280a163d67c6b53c8495..d5cbfa241d6090d5e235fc75e7548457dc241578 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -836,7 +836,7 @@ void Editor::appliedEditing(CompositeEditCommand* cmd) {
// Request spell checking before any further DOM change.
spellChecker().markMisspellingsAfterApplyingCommand(*cmd);
- EditCommandComposition* composition = cmd->composition();
+ UndoStep* composition = cmd->composition();
DCHECK(composition);
dispatchEditableContentChangedEvents(
composition->startingRootEditableElement(),
@@ -894,7 +894,7 @@ static VisibleSelection correctedVisibleSelection(
return correctedSelection;
}
-void Editor::unappliedEditing(EditCommandComposition* cmd) {
+void Editor::unappliedEditing(UndoStep* cmd) {
EventQueueScope scope;
dispatchEditableContentChangedEvents(cmd->startingRootEditableElement(),
@@ -924,7 +924,7 @@ void Editor::unappliedEditing(EditCommandComposition* cmd) {
respondToChangedContents(newSelection);
}
-void Editor::reappliedEditing(EditCommandComposition* cmd) {
+void Editor::reappliedEditing(UndoStep* cmd) {
EventQueueScope scope;
dispatchEditableContentChangedEvents(cmd->startingRootEditableElement(),

Powered by Google App Engine
This is Rietveld 408576698