Index: third_party/WebKit/Source/web/tests/DocumentLoadingRenderingTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/DocumentLoadingRenderingTest.cpp b/third_party/WebKit/Source/web/tests/DocumentLoadingRenderingTest.cpp |
index be2c7a081237f3d6b983d001c5b51410d3721976..45d191c6f4cb8c19b42634913b925b4db4301b08 100644 |
--- a/third_party/WebKit/Source/web/tests/DocumentLoadingRenderingTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/DocumentLoadingRenderingTest.cpp |
@@ -264,7 +264,7 @@ TEST_F(DocumentLoadingRenderingTest, ShouldNotPaintIframeContentWithPendingSheet |
// this by doing offsetTop in a setTimeout, or by a parent frame executing |
// script that touched offsetTop in the child frame. |
auto* childFrame = toHTMLIFrameElement(document().getElementById("frame")); |
- childFrame->contentDocument()->updateLayoutIgnorePendingStylesheets(); |
+ childFrame->contentDocument()->updateStyleAndLayoutIgnorePendingStylesheets(); |
auto frame2 = compositor().beginFrame(); |