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

Unified Diff: Source/core/css/DragUpdateTest.cpp

Issue 1126883002: Change all one-off lifecycle callers to FrameView::updateLayoutAndStyleForPainting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/css/DragUpdateTest.cpp
diff --git a/Source/core/css/DragUpdateTest.cpp b/Source/core/css/DragUpdateTest.cpp
index 97b8b39c665769cd40d80d77a8c6ed4fb15d3545..471ed109c6be29e35331861f064330b10dd2e2d8 100644
--- a/Source/core/css/DragUpdateTest.cpp
+++ b/Source/core/css/DragUpdateTest.cpp
@@ -31,11 +31,11 @@ TEST(DragUpdateTest, AffectedByDragUpdate)
"<span></span>"
"</div>", ASSERT_NO_EXCEPTION);
- document.view()->updateLayoutAndStyleIfNeededRecursive();
+ document.view()->updateLayoutAndStyleForPainting();
unsigned startCount = document.styleEngine().resolverAccessCount();
document.documentElement()->layoutObject()->updateDragState(true);
- document.view()->updateLayoutAndStyleIfNeededRecursive();
+ document.view()->updateLayoutAndStyleForPainting();
unsigned accessCount = document.styleEngine().resolverAccessCount() - startCount;

Powered by Google App Engine
This is Rietveld 408576698