| Index: Source/core/editing/FrameSelectionTest.cpp
|
| diff --git a/Source/core/editing/FrameSelectionTest.cpp b/Source/core/editing/FrameSelectionTest.cpp
|
| index 341eff15dfadb4bc0bda10d5e856b0993215eb2d..4fed283552fe9b97436a63c9c1c7244e9337587c 100644
|
| --- a/Source/core/editing/FrameSelectionTest.cpp
|
| +++ b/Source/core/editing/FrameSelectionTest.cpp
|
| @@ -99,7 +99,7 @@ TEST_F(FrameSelectionTest, SetInvalidSelection)
|
| TEST_F(FrameSelectionTest, InvalidateCaretRect)
|
| {
|
| RefPtrWillBeRawPtr<Text> text = appendTextNode("Hello, World!");
|
| - document().view()->updateLayoutAndStyleForPainting();
|
| + document().view()->updateAllLifecyclePhases();
|
|
|
| VisibleSelection validSelection(Position(text, 0), Position(text, 0));
|
| setSelection(validSelection);
|
| @@ -119,7 +119,7 @@ TEST_F(FrameSelectionTest, InvalidateCaretRect)
|
| TEST_F(FrameSelectionTest, PaintCaretShouldNotLayout)
|
| {
|
| RefPtrWillBeRawPtr<Text> text = appendTextNode("Hello, World!");
|
| - document().view()->updateLayoutAndStyleForPainting();
|
| + document().view()->updateAllLifecyclePhases();
|
|
|
| document().body()->setContentEditable("true", ASSERT_NO_EXCEPTION);
|
| document().body()->focus();
|
|
|