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

Unified Diff: third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h

Issue 2644063002: Make SynchronousMutationObserver::didMergeTextNodes() to take both merged and merging nodes (Closed)
Patch Set: 2017-01-19T17:22:18 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/dom/SynchronousMutationNotifier.h
diff --git a/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h b/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h
index f57a4816a0596e73efcfeb0c77d409421d123c77..813f2097cbe8aba08c885c1cf40476beab0389b2 100644
--- a/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h
+++ b/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h
@@ -15,6 +15,7 @@ class CharacterData;
class ContainerNode;
class Document;
class Node;
+class NodeWithIndex;
class SynchronousMutationObserver;
class Text;
@@ -24,7 +25,9 @@ class CORE_EXPORT SynchronousMutationNotifier
// TODO(yosin): We will have |notifyXXX()| functions defined in
// |SynchronousMutationObserver|.
void notifyChangeChildren(const ContainerNode&);
- void notifyMergeTextNodes(Text&, unsigned);
+ void notifyMergeTextNodes(const Text& mergedNode,
+ const NodeWithIndex& nodeToBeRemovedWithIndex,
+ unsigned oldLength);
void notifyMoveTreeToNewDocument(const Node&);
void notifySplitTextNode(const Text&);
void notifyUpdateCharacterData(CharacterData*,

Powered by Google App Engine
This is Rietveld 408576698