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

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

Issue 1217943010: 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, 6 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 d4680c5617b237bc0768de3d4fe2bde06c2968f6..6a8de63807cd2854ec6a642f0f9350ec6c5afbe5 100644
--- a/Source/core/editing/GranularityStrategyTest.cpp
+++ b/Source/core/editing/GranularityStrategyTest.cpp
@@ -107,7 +107,7 @@ PassRefPtrWillBeRawPtr<Text> GranularityStrategyTest::appendTextNode(const Strin
void GranularityStrategyTest::setInnerHTML(const char* htmlContent)
{
document().documentElement()->setInnerHTML(String::fromUTF8(htmlContent), ASSERT_NO_EXCEPTION);
- document().view()->updateLayoutAndStyleForPainting();
+ document().view()->updateAllLifecyclePhases();
}
void GranularityStrategyTest::parseText(Text* text)
@@ -165,7 +165,7 @@ PassRefPtrWillBeRawPtr<Text> GranularityStrategyTest::setupTranslateZ(WTF::Strin
Element* div = document().getElementById("mytext");
div->appendChild(text);
- document().view()->updateLayoutAndStyleForPainting();
+ document().view()->updateAllLifecyclePhases();
parseText(text.get());
return text.release();
@@ -191,7 +191,7 @@ PassRefPtrWillBeRawPtr<Text> GranularityStrategyTest::setupTransform(WTF::String
Element* div = document().getElementById("mytext");
div->appendChild(text);
- document().view()->updateLayoutAndStyleForPainting();
+ document().view()->updateAllLifecyclePhases();
parseText(text.get());
return text.release();
@@ -217,7 +217,7 @@ PassRefPtrWillBeRawPtr<Text> GranularityStrategyTest::setupRotate(WTF::String st
Element* div = document().getElementById("mytext");
div->appendChild(text);
- document().view()->updateLayoutAndStyleForPainting();
+ document().view()->updateAllLifecyclePhases();
parseText(text.get());
return text.release();
@@ -235,7 +235,7 @@ void GranularityStrategyTest::setupTextSpan(WTF::String str1, WTF::String str2,
span->appendChild(text2);
div->appendChild(text3);
- document().view()->updateLayoutAndStyleForPainting();
+ document().view()->updateAllLifecyclePhases();
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