| Index: Source/core/editing/iterators/TextIteratorTest.cpp
|
| diff --git a/Source/core/editing/iterators/TextIteratorTest.cpp b/Source/core/editing/iterators/TextIteratorTest.cpp
|
| index 7049bd230361c90f27ed4a354c59e716ee83f8be..69f94360a4770b36d9d6e724520f46b5b87f4f87 100644
|
| --- a/Source/core/editing/iterators/TextIteratorTest.cpp
|
| +++ b/Source/core/editing/iterators/TextIteratorTest.cpp
|
| @@ -416,7 +416,7 @@
|
| static const char* bodyContent =
|
| "<div id='div' contenteditable='true'>1<img src='foo.png'>3</div>";
|
| setBodyContent(bodyContent);
|
| - document().view()->updateAllLifecyclePhases();
|
| + document().view()->updateLayoutAndStyleForPainting();
|
|
|
| Node* divNode = document().getElementById("div");
|
| RefPtrWillBeRawPtr<Range> range = Range::create(document(), divNode, 0, divNode, 3);
|
| @@ -429,7 +429,7 @@
|
| static const char* bodyContent =
|
| "<div id='div' contenteditable='true'>1<img src='foo.png'>345</div>";
|
| setBodyContent(bodyContent);
|
| - document().view()->updateAllLifecyclePhases();
|
| + document().view()->updateLayoutAndStyleForPainting();
|
|
|
| Node* divNode = document().getElementById("div");
|
| RefPtrWillBeRawPtr<Range> entireRange = Range::create(document(), divNode, 0, divNode, 3);
|
|
|