Index: third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp |
diff --git a/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp b/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp |
index eab5ee5a47dc489cdb8a3a22aae662d521bee814..9b284b422e43b3b2386389574598b160e14c8c61 100644 |
--- a/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp |
+++ b/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp |
@@ -402,7 +402,10 @@ TEST_F(ApplyRulesetsTest, AddFontFaceRuleToShadowTree) { |
styleEngine().applyRuleSetChanges(shadowRoot, ActiveStyleSheetVector(), |
newStyleSheets); |
- EXPECT_FALSE(document().needsLayoutTreeUpdate()); |
+ EXPECT_FALSE(document().needsStyleRecalc()); |
+ EXPECT_FALSE(document().childNeedsStyleRecalc()); |
+ EXPECT_FALSE(document().needsStyleInvalidation()); |
+ EXPECT_FALSE(document().childNeedsStyleInvalidation()); |
} |
TEST_F(ApplyRulesetsTest, RemoveSheetFromShadowTree) { |