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(); |
} |