| 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 5ac8645713e1f005791ee6f80195d09decf46dce..7a0fa9a8dbdd5f6af3258dc8d58393e55bcee9a1 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -480,7 +480,8 @@ void FrameSelection::invalidatePaintIfNeeded(
|
| bool FrameSelection::shouldPaintCaret(const LayoutBlock& block) const {
|
| DCHECK_GE(document().lifecycle().state(), DocumentLifecycle::LayoutClean);
|
| bool result = m_frameCaret->shouldPaintCaret(block);
|
| - DCHECK(!result || (isCaret() && hasEditableStyle()));
|
| + DCHECK(!result || (computeVisibleSelectionInDOMTreeDeprecated().isCaret() &&
|
| + hasEditableStyle()));
|
| return result;
|
| }
|
|
|
|
|