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

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

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/css/DragUpdateTest.cpp
diff --git a/third_party/WebKit/Source/core/css/DragUpdateTest.cpp b/third_party/WebKit/Source/core/css/DragUpdateTest.cpp
index df874f60c7f2206e777b5a207dcbc10139b236cf..0e53520481bc9b8385ac5c87d34a6aa8308f6e98 100644
--- a/third_party/WebKit/Source/core/css/DragUpdateTest.cpp
+++ b/third_party/WebKit/Source/core/css/DragUpdateTest.cpp
@@ -54,11 +54,11 @@ TEST(DragUpdateTest, ChildAffectedByDragUpdate)
"<span></span>"
"</div>", ASSERT_NO_EXCEPTION);
- document.updateLayout();
+ document.updateStyleAndLayout();
unsigned startCount = document.styleEngine().styleForElementCount();
document.documentElement()->layoutObject()->updateDragState(true);
- document.updateLayout();
+ document.updateStyleAndLayout();
unsigned elementCount = document.styleEngine().styleForElementCount() - startCount;
@@ -81,11 +81,11 @@ TEST(DragUpdateTest, SiblingAffectedByDragUpdate)
"</div>"
"<span class='drag'></span>", ASSERT_NO_EXCEPTION);
- document.updateLayout();
+ document.updateStyleAndLayout();
unsigned startCount = document.styleEngine().styleForElementCount();
document.documentElement()->layoutObject()->updateDragState(true);
- document.updateLayout();
+ document.updateStyleAndLayout();
unsigned elementCount = document.styleEngine().styleForElementCount() - startCount;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | third_party/WebKit/Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698