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

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

Issue 1894583002: [Layout API] Convert DragCaretController to use Document::layoutViewItem() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/DragCaretController.cpp
diff --git a/third_party/WebKit/Source/core/editing/DragCaretController.cpp b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
index c132acbc04526a71f55019383c4f70d38ef2a0da..ae43f46a64ec8e6fa51817939f03eb6519a8de16 100644
--- a/third_party/WebKit/Source/core/editing/DragCaretController.cpp
+++ b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
@@ -26,7 +26,7 @@
#include "core/editing/DragCaretController.h"
#include "core/editing/EditingUtilities.h"
-#include "core/layout/LayoutView.h"
+#include "core/layout/api/LayoutViewItem.h"
#include "core/paint/PaintLayer.h"
namespace blink {
@@ -92,7 +92,7 @@ void DragCaretController::nodeWillBeRemoved(Node& node)
if (!removingNodeRemovesPosition(node, m_position.deepEquivalent()))
return;
- m_position.deepEquivalent().document()->layoutView()->clearSelection();
+ m_position.deepEquivalent().document()->layoutViewItem().clearSelection();
clear();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698