Index: third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp |
index f8fb2620028c530354dbdb30fda796f7a7280364..7259d2e5e29805d3f18cffffb1b547d7dec294a2 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp |
@@ -123,12 +123,12 @@ TEST_F(MediaControlsTest, HideAndReset) |
TEST_F(MediaControlsTest, ResetDoesNotTriggerInitialLayout) |
{ |
Document& document = this->document(); |
- int oldResolverCount = document.styleEngine().resolverAccessCount(); |
+ int oldElementCount = document.styleEngine().styleForElementCount(); |
// Also assert that there are no layouts yet. |
- ASSERT_EQ(0, oldResolverCount); |
+ ASSERT_EQ(0, oldElementCount); |
mediaControls().reset(); |
- int newResolverCount = document.styleEngine().resolverAccessCount(); |
- ASSERT_EQ(oldResolverCount, newResolverCount); |
+ int newElementCount = document.styleEngine().styleForElementCount(); |
+ ASSERT_EQ(oldElementCount, newElementCount); |
} |
TEST_F(MediaControlsTest, CastButtonRequiresRoute) |