| Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| index b83875bc8a3afa35d11ec1c6a226697345a49643..4ce403148d932c83e97691cf067aa2d3a649a0ca 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -516,7 +516,7 @@ bool FrameSelection::ShouldPaintCaret(const LayoutBlock& block) const {
|
| DCHECK_GE(GetDocument().Lifecycle().GetState(),
|
| DocumentLifecycle::kLayoutClean);
|
| bool result = frame_caret_->ShouldPaintCaret(block);
|
| - DCHECK(!result || (ComputeVisibleSelectionInDOMTreeDeprecated().IsCaret() &&
|
| + DCHECK(!result || (ComputeVisibleSelectionInDOMTree().IsCaret() &&
|
| ComputeVisibleSelectionInDOMTree().HasEditableStyle()));
|
| return result;
|
| }
|
|
|