Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/FrameCaret.cpp |
| diff --git a/third_party/WebKit/Source/core/editing/FrameCaret.cpp b/third_party/WebKit/Source/core/editing/FrameCaret.cpp |
| index cba2d8cf917e029900e989b4d2b4023fddf15393..fcfa1acf9324bec2e61a73f64e66cbf0bab8656b 100644 |
| --- a/third_party/WebKit/Source/core/editing/FrameCaret.cpp |
| +++ b/third_party/WebKit/Source/core/editing/FrameCaret.cpp |
| @@ -204,7 +204,8 @@ bool FrameCaret::shouldBlinkCaret() const { |
| if (m_caretVisibility != CaretVisibility::Visible || !isActive()) |
| return false; |
| - Element* root = rootEditableElementOf(caretPosition().position()); |
| + Element* root = |
| + rootEditableElementOf(m_selectionEditor->selectionInDOMTree().base()); |
|
yosin_UTC9
2017/03/16 02:30:05
Could you move change in another CL?
This change i
yoichio
2017/03/16 04:10:59
Acknowledged.
|
| if (!root) |
| return false; |