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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/Serialization.cpp

Issue 1997563002: Get rid of a redundant function alias positionBeforeNode() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-05-19T22:35:34 rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
index 8d3ee65ca919f5325258deb2d170ea5600d1b7d6..a0642bad89a2ee95998d47030a808a9918933794 100644
--- a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp
@@ -353,7 +353,7 @@ DocumentFragment* createFragmentFromMarkupWithContext(Document& document, const
Range* range = Range::create(*taggedDocument,
Position::afterNode(nodeBeforeContext).parentAnchoredEquivalent(),
- positionBeforeNode(nodeAfterContext).parentAnchoredEquivalent());
+ Position::beforeNode(nodeAfterContext).parentAnchoredEquivalent());
Node* commonAncestor = range->commonAncestorContainer();
HTMLElement* specialCommonAncestor = ancestorToRetainStructureAndAppearanceWithNoLayoutObject(commonAncestor);

Powered by Google App Engine
This is Rietveld 408576698