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 411cb99c8e9c7b7037780b1205e57f58f5c1a00d..df874f60c7f2206e777b5a207dcbc10139b236cf 100644 |
--- a/third_party/WebKit/Source/core/css/DragUpdateTest.cpp |
+++ b/third_party/WebKit/Source/core/css/DragUpdateTest.cpp |
@@ -29,14 +29,14 @@ TEST(DragUpdateTest, AffectedByDragUpdate) |
"</div>", ASSERT_NO_EXCEPTION); |
document.view()->updateAllLifecyclePhases(); |
- unsigned startCount = document.styleEngine().resolverAccessCount(); |
+ unsigned startCount = document.styleEngine().styleForElementCount(); |
document.documentElement()->layoutObject()->updateDragState(true); |
document.view()->updateAllLifecyclePhases(); |
- unsigned accessCount = document.styleEngine().resolverAccessCount() - startCount; |
+ unsigned elementCount = document.styleEngine().styleForElementCount() - startCount; |
- ASSERT_EQ(1U, accessCount); |
+ ASSERT_EQ(1U, elementCount); |
} |
TEST(DragUpdateTest, ChildAffectedByDragUpdate) |
@@ -55,14 +55,14 @@ TEST(DragUpdateTest, ChildAffectedByDragUpdate) |
"</div>", ASSERT_NO_EXCEPTION); |
document.updateLayout(); |
- unsigned startCount = document.styleEngine().resolverAccessCount(); |
+ unsigned startCount = document.styleEngine().styleForElementCount(); |
document.documentElement()->layoutObject()->updateDragState(true); |
document.updateLayout(); |
- unsigned accessCount = document.styleEngine().resolverAccessCount() - startCount; |
+ unsigned elementCount = document.styleEngine().styleForElementCount() - startCount; |
- ASSERT_EQ(1U, accessCount); |
+ ASSERT_EQ(1U, elementCount); |
} |
TEST(DragUpdateTest, SiblingAffectedByDragUpdate) |
@@ -82,14 +82,14 @@ TEST(DragUpdateTest, SiblingAffectedByDragUpdate) |
"<span class='drag'></span>", ASSERT_NO_EXCEPTION); |
document.updateLayout(); |
- unsigned startCount = document.styleEngine().resolverAccessCount(); |
+ unsigned startCount = document.styleEngine().styleForElementCount(); |
document.documentElement()->layoutObject()->updateDragState(true); |
document.updateLayout(); |
- unsigned accessCount = document.styleEngine().resolverAccessCount() - startCount; |
+ unsigned elementCount = document.styleEngine().styleForElementCount() - startCount; |
- ASSERT_EQ(1U, accessCount); |
+ ASSERT_EQ(1U, elementCount); |
} |
} // namespace blink |