| 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 e64e78de969f5615c9e4ab38f5702af910c7b31b..7d88e250c1fb081613fe9ce2d39a081356331e03 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -474,8 +474,9 @@ 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 || (computeVisibleSelectionInDOMTreeDeprecated().isCaret() &&
|
| - hasEditableStyle()));
|
| + DCHECK(!result ||
|
| + (computeVisibleSelectionInDOMTreeDeprecated().isCaret() &&
|
| + computeVisibleSelectionInDOMTree().hasEditableStyle()));
|
| return result;
|
| }
|
|
|
|
|