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

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

Issue 1819603003: Shift flowthread-to-visual coordinate space conversion one level up in the tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update unit tests. Created 4 years, 9 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/CaretBase.cpp
diff --git a/third_party/WebKit/Source/core/editing/CaretBase.cpp b/third_party/WebKit/Source/core/editing/CaretBase.cpp
index cbf557976a0b009a6a7928e2eed1d1cbead4d09a..7c8ecbb0c4ad827c20cc48e960c36a223acb4fee 100644
--- a/third_party/WebKit/Source/core/editing/CaretBase.cpp
+++ b/third_party/WebKit/Source/core/editing/CaretBase.cpp
@@ -83,12 +83,6 @@ static void mapCaretRectToCaretPainter(LayoutItem caretLayoutItem, LayoutBlockIt
break;
}
caretRect.move(caretLayoutItem.offsetFromContainer(containerItem));
-
- // TODO(mstensho): Fix crbug.com/596070 and get rid of this flowthread/multicol thing
- // here. It was added to keep the same behavior as before flowthread-to-visual coordinate
- // space conversion was moved out from offsetFromContainer() to mapLocalToAncestor().
- caretRect.move(containerItem.columnOffset(caretRect.location()));
-
caretLayoutItem = containerItem;
}

Powered by Google App Engine
This is Rietveld 408576698