| Index: Source/core/page/PrintContextTest.cpp
|
| diff --git a/Source/core/page/PrintContextTest.cpp b/Source/core/page/PrintContextTest.cpp
|
| index 67d116405aa1c783e50d2f08cbc3662926d0c06c..473df071bf96a825746963b60e43f8dc2d44231a 100644
|
| --- a/Source/core/page/PrintContextTest.cpp
|
| +++ b/Source/core/page/PrintContextTest.cpp
|
| @@ -327,7 +327,7 @@ TEST_F(PrintContextFrameTest, WithSubframe)
|
| EXPECT_EQ(MockCanvas::DrawRect, operations[1].type);
|
| EXPECT_SKRECT_EQ(350, 360, 270, 280, operations[1].rect);
|
|
|
| - subframe->detach();
|
| + subframe->detach(FrameDetachType::Remove);
|
| static_cast<SingleChildFrameLoaderClient*>(document().frame()->client())->setChild(nullptr);
|
| document().frame()->host()->decrementSubframeCount();
|
| }
|
| @@ -370,7 +370,7 @@ TEST_F(PrintContextFrameTest, WithScrolledSubframe)
|
| EXPECT_EQ(MockCanvas::DrawRect, operations[2].type);
|
| EXPECT_SKRECT_EQ(250, 260, 270, 280, operations[2].rect);
|
|
|
| - subframe->detach();
|
| + subframe->detach(FrameDetachType::Remove);
|
| static_cast<SingleChildFrameLoaderClient*>(document().frame()->client())->setChild(nullptr);
|
| document().frame()->host()->decrementSubframeCount();
|
| }
|
|
|