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

Unified Diff: Source/core/html/HTMLSelectElementTest.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
Index: Source/core/html/HTMLSelectElementTest.cpp
diff --git a/Source/core/html/HTMLSelectElementTest.cpp b/Source/core/html/HTMLSelectElementTest.cpp
index bde8e793396349c7f45ba7d321e3eef1272f2378..4b2d42369ec01e3be841ee8505819e99dbb80ce1 100644
--- a/Source/core/html/HTMLSelectElementTest.cpp
+++ b/Source/core/html/HTMLSelectElementTest.cpp
@@ -41,7 +41,7 @@
"<option value='222'>222</option>"
"<option value='111' selected id='2'>!666</option>"
"<option value='999'>999</option></select>"), ASSERT_NO_EXCEPTION);
- document().view()->updateAllLifecyclePhases();
+ document().view()->updateLayoutAndStyleForPainting();
Element* element = document().getElementById("sel");
HTMLFormControlElementWithState* select = toHTMLSelectElement(element);
HTMLOptionElement* opt0 = toHTMLOptionElement(document().getElementById("0"));
@@ -73,7 +73,7 @@
"<option value='222'>222</option>"
"<option value='111' selected id='2'>!666</option>"
"<option value='999' selected id='3'>999</option></select>"), ASSERT_NO_EXCEPTION);
- document().view()->updateAllLifecyclePhases();
+ document().view()->updateLayoutAndStyleForPainting();
HTMLFormControlElementWithState* select = toHTMLSelectElement(document().getElementById("sel"));
HTMLOptionElement* opt0 = toHTMLOptionElement(document().getElementById("0"));
« no previous file with comments | « Source/core/html/HTMLFormControlElementTest.cpp ('k') | Source/core/html/HTMLTextFormControlElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698