Index: third_party/WebKit/Source/core/dom/DocumentTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentTest.cpp b/third_party/WebKit/Source/core/dom/DocumentTest.cpp |
index 22ccdcc6d1d845a84e51d06c156c501f298ee206..b3129b9f76f1d9b6beb21bd3324e354d76fa4350 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentTest.cpp |
@@ -284,31 +284,6 @@ TEST_F(DocumentTest, referrerPolicyParsing) |
} |
} |
-// This tests that we mark Frame Timing requests as dirty correctly when we |
-// update style. |
-TEST_F(DocumentTest, FrameTimingRelayout) |
-{ |
- setHtmlInnerHTML( |
- "<style>" |
- " #div1 {" |
- " width: 100px;" |
- " height: 100px;" |
- " }" |
- "</style>" |
- "<p><div id='div1'><span>test</span></div></p>"); |
- |
- EXPECT_FALSE(document().view()->frameTimingRequestsDirty()); |
- |
- // Just calling update should have no effect. |
- document().updateLayoutTree(); |
- EXPECT_FALSE(document().view()->frameTimingRequestsDirty()); |
- |
- // Calling update with a style change should flag Frame Timing as dirty. |
- document().setChildNeedsStyleRecalc(); |
- document().updateLayoutTree(); |
- EXPECT_TRUE(document().view()->frameTimingRequestsDirty()); |
-} |
- |
TEST_F(DocumentTest, OutgoingReferrer) |
{ |
document().setURL(KURL(KURL(), "https://www.example.com/hoge#fuga?piyo")); |