| 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;
|
|
|
|
|