Chromium Code Reviews| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| index 133eb46f16fb87fda78fcfc3e1491a31cf985f06..f4672bc204566302776e0ac963a1bbb2945d1df0 100644 |
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| @@ -8110,6 +8110,8 @@ TEST_P(ParameterizedWebFrameTest, RemoteToLocalSwapOnMainFrameInitializesCoreFra |
| // Do a remote-to-local swap of the top frame. |
| FrameTestHelpers::TestWebFrameClient localClient; |
| WebLocalFrame* localRoot = WebLocalFrame::createProvisional(&localClient, remoteRoot, WebSandboxFlags::None); |
| + FrameTestHelpers::TestWebWidgetClient webWidgetClient; |
| + WebFrameWidget::create(&webWidgetClient, localRoot); |
|
dcheng
2016/09/02 08:57:39
Would it be better to just make FrameTestHelpers d
lfg
2016/09/02 17:36:38
In this case I didn't think it was worth the effor
|
| remoteRoot->swap(localRoot); |
| // Load a page with a child frame in the new root to make sure this doesn't |