| Index: third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp b/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
|
| index 880676d4dfebf0a05220f91795150e9d4821335b..6369fd224c590318204d39cefab5d09d76b55372 100644
|
| --- a/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/sim/SimWebViewClient.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "web/tests/sim/SimWebViewClient.h"
|
|
|
| #include "public/platform/WebLayerTreeView.h"
|
| +#include "public/web/WebLocalFrame.h"
|
|
|
| namespace blink {
|
|
|
| @@ -29,4 +30,13 @@ void SimWebViewClient::DidMeaningfulLayout(
|
| }
|
| }
|
|
|
| +WebView* SimWebViewClient::CreateView(WebLocalFrame* opener,
|
| + const WebURLRequest&,
|
| + const WebWindowFeatures&,
|
| + const WebString& name,
|
| + WebNavigationPolicy,
|
| + bool) {
|
| + return web_view_helper_.InitializeWithOpener(opener, true);
|
| +}
|
| +
|
| } // namespace blink
|
|
|