Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Unified Diff: Source/core/editing/GranularityStrategyTest.cpp

Issue 1225583004: Revert of Add a FrameView lifecycle method that just updates layout, style and compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/FrameSelectionTest.cpp ('k') | Source/core/editing/iterators/TextIteratorTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/editing/FrameSelectionTest.cpp ('k') | Source/core/editing/iterators/TextIteratorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698