| Index: Source/core/editing/GranularityStrategyTest.cpp
|
| diff --git a/Source/core/editing/GranularityStrategyTest.cpp b/Source/core/editing/GranularityStrategyTest.cpp
|
| index 6a8de63807cd2854ec6a642f0f9350ec6c5afbe5..d4680c5617b237bc0768de3d4fe2bde06c2968f6 100644
|
| --- a/Source/core/editing/GranularityStrategyTest.cpp
|
| +++ b/Source/core/editing/GranularityStrategyTest.cpp
|
| @@ -107,7 +107,7 @@
|
| void GranularityStrategyTest::setInnerHTML(const char* htmlContent)
|
| {
|
| document().documentElement()->setInnerHTML(String::fromUTF8(htmlContent), ASSERT_NO_EXCEPTION);
|
| - document().view()->updateAllLifecyclePhases();
|
| + document().view()->updateLayoutAndStyleForPainting();
|
| }
|
|
|
| void GranularityStrategyTest::parseText(Text* text)
|
| @@ -165,7 +165,7 @@
|
| Element* div = document().getElementById("mytext");
|
| div->appendChild(text);
|
|
|
| - document().view()->updateAllLifecyclePhases();
|
| + document().view()->updateLayoutAndStyleForPainting();
|
|
|
| parseText(text.get());
|
| return text.release();
|
| @@ -191,7 +191,7 @@
|
| Element* div = document().getElementById("mytext");
|
| div->appendChild(text);
|
|
|
| - document().view()->updateAllLifecyclePhases();
|
| + document().view()->updateLayoutAndStyleForPainting();
|
|
|
| parseText(text.get());
|
| return text.release();
|
| @@ -217,7 +217,7 @@
|
| Element* div = document().getElementById("mytext");
|
| div->appendChild(text);
|
|
|
| - document().view()->updateAllLifecyclePhases();
|
| + document().view()->updateLayoutAndStyleForPainting();
|
|
|
| parseText(text.get());
|
| return text.release();
|
| @@ -235,7 +235,7 @@
|
| span->appendChild(text2);
|
| div->appendChild(text3);
|
|
|
| - document().view()->updateAllLifecyclePhases();
|
| + document().view()->updateLayoutAndStyleForPainting();
|
|
|
| std::vector<IntPoint> letterPos;
|
| std::vector<IntPoint> wordMiddlePos;
|
|
|