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

Unified Diff: Source/core/editing/htmlediting.cpp

Issue 1270023002: CANCEL Untemplatize PositionAlgorithm<Strategy>::rendersInDifferentPosition() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-03T15:43:25 Created 5 years, 4 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: Source/core/editing/htmlediting.cpp
diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp
index 4a49061042fdf7866281f5949a87780fc5247c16..6f343cd9db4d35a77ad4423f01c5c5188d28dc33 100644
--- a/Source/core/editing/htmlediting.cpp
+++ b/Source/core/editing/htmlediting.cpp
@@ -1121,7 +1121,7 @@ static Position previousCharacterPosition(const Position& position, EAffinity af
if (atStartOfLine || !rendered) {
if (currentPos.isCandidate())
return currentPos;
- } else if (position.rendersInDifferentPosition(currentPos)) {
+ } else if (rendersInDifferentPosition(position, currentPos)) {
return currentPos;
}
}
« Source/core/dom/Position.cpp ('K') | « Source/core/editing/CompositeEditCommand.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698