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

Unified Diff: Source/core/css/DragUpdateTest.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/css/AffectedByFocusTest.cpp ('k') | Source/core/dom/DocumentTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/DragUpdateTest.cpp
diff --git a/Source/core/css/DragUpdateTest.cpp b/Source/core/css/DragUpdateTest.cpp
index 5da205e32bb15749af0b8bb875abe9903a22adde..63685dd69621b3c1294197aeacae222ea7737427 100644
--- a/Source/core/css/DragUpdateTest.cpp
+++ b/Source/core/css/DragUpdateTest.cpp
@@ -29,11 +29,11 @@ TEST(DragUpdateTest, AffectedByDragUpdate)
"<span></span>"
"</div>", ASSERT_NO_EXCEPTION);
- document.view()->updateLayoutAndStyleForPainting();
+ document.view()->updateAllLifecyclePhases();
unsigned startCount = document.styleEngine().resolverAccessCount();
document.documentElement()->layoutObject()->updateDragState(true);
- document.view()->updateLayoutAndStyleForPainting();
+ document.view()->updateAllLifecyclePhases();
unsigned accessCount = document.styleEngine().resolverAccessCount() - startCount;
« no previous file with comments | « Source/core/css/AffectedByFocusTest.cpp ('k') | Source/core/dom/DocumentTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698