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 a6071be22e165ff3596799225ba3f5443a4ba51b..559832b1bf75211c1a66e8fa129e1a689ecd149c 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(); |