| Index: third_party/WebKit/Source/core/editing/CaretDisplayItemClientTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/CaretDisplayItemClientTest.cpp b/third_party/WebKit/Source/core/editing/CaretDisplayItemClientTest.cpp
|
| index c783f1274b26a97bc05752785cc21617f3c8c328..406799e172d78a9aba0a8b52eb4e37a03c525780 100644
|
| --- a/third_party/WebKit/Source/core/editing/CaretDisplayItemClientTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/CaretDisplayItemClientTest.cpp
|
| @@ -312,10 +312,10 @@ TEST_F(CaretDisplayItemClientTest, CaretHideMoveAndShow) {
|
| EXPECT_EQ(1, caret_visual_rect.Width());
|
| EXPECT_EQ(block->Location(), caret_visual_rect.Location());
|
|
|
| + GetDocument().View()->SetTracksPaintInvalidations(true);
|
| // Simulate that the blinking cursor becomes invisible.
|
| Selection().SetCaretVisible(false);
|
| // Move the caret to the end of the text.
|
| - GetDocument().View()->SetTracksPaintInvalidations(true);
|
| Selection().SetSelection(
|
| SelectionInDOMTree::Builder().Collapse(Position(text, 5)).Build());
|
| // Simulate that the cursor blinking is restarted.
|
|
|