Index: third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp b/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
index 42473547bd36ab112862a3dade4745e9188aeb92..850d7cdc628cd06e23e885832b8b99456b296420 100644 |
--- a/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
@@ -84,7 +84,7 @@ TEST_F(WebDocumentTest, InsertStyleSheet) |
ASSERT_EQ(Color(0, 0, 0), styleBeforeInsertion.visitedDependentColor(CSSPropertyColor)); |
// Apply inserted stylesheet. |
- coreDoc->updateLayoutTree(); |
+ coreDoc->updateStyleAndLayoutTree(); |
const ComputedStyle& styleAfterInsertion = bodyElement->computedStyleRef(); |