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