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

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

Issue 2491703004: Replace roundedLayoutPoint with LayoutPoint (Closed)
Patch Set: Created 4 years, 1 month 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/EditingUtilities.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
index 83ce44ad6c16079d39cb7bb2bc8e8f3f8af830e0..b4987297957acee2db4a29a065e4f295c5edf28b 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
@@ -1696,7 +1696,7 @@ PositionWithAffinity positionRespectingEditingBoundary(
FloatPoint absolutePoint = targetNode->layoutObject()->localToAbsolute(
FloatPoint(selectionEndPoint));
- selectionEndPoint = roundedLayoutPoint(
+ selectionEndPoint = LayoutPoint(
editableElement->layoutObject()->absoluteToLocal(absolutePoint));
targetNode = editableElement;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Touch.cpp ('k') | third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698