| Index: third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp b/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
|
| index ddfaa7f661a719a4606d3f71c834bde6d8e92fee..a3c95cdf0c2a015236407345b787b531070f5f86 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
|
| @@ -78,7 +78,8 @@ TEST_F(FrameSelectionTest, PaintCaretShouldNotLayout) {
|
| selection().setSelection(
|
| SelectionInDOMTree::Builder().collapse(Position(text, 0)).build());
|
| document().view()->updateAllLifecyclePhases();
|
| - EXPECT_TRUE(selection().isCaret());
|
| + EXPECT_TRUE(
|
| + selection().computeVisibleSelectionInDOMTreeDeprecated().isCaret());
|
| EXPECT_TRUE(toLayoutBlock(document().body()->layoutObject())
|
| ->shouldPaintCursorCaret());
|
|
|
|
|