| 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 e9ddd44f636e4afa2506e35ae356f157b7af3a97..ffe660026b014d8f18a6461187f1e503b31f2c88 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -7303,6 +7303,7 @@ class TestCachePolicyWebFrameClient
|
| const WebString&,
|
| const WebString&,
|
| WebSandboxFlags,
|
| + const WebParsedFeaturePolicy&,
|
| const WebFrameOwnerProperties& frame_owner_properties) override {
|
| DCHECK(child_client_);
|
| child_frame_creation_count_++;
|
| @@ -7713,6 +7714,7 @@ class FailCreateChildFrame : public FrameTestHelpers::TestWebFrameClient {
|
| const WebString& name,
|
| const WebString& fallback_name,
|
| WebSandboxFlags sandbox_flags,
|
| + const WebParsedFeaturePolicy& container_policy,
|
| const WebFrameOwnerProperties& frame_owner_properties) override {
|
| ++call_count_;
|
| return nullptr;
|
| @@ -11749,12 +11751,14 @@ TEST_F(WebFrameTest, NoLoadingCompletionCallbacksInDetach) {
|
|
|
| class MainFrameClient : public FrameTestHelpers::TestWebFrameClient {
|
| public:
|
| - WebLocalFrame* CreateChildFrame(WebLocalFrame* parent,
|
| - WebTreeScopeType scope,
|
| - const WebString& name,
|
| - const WebString& fallback_name,
|
| - WebSandboxFlags sandbox_flags,
|
| - const WebFrameOwnerProperties&) override {
|
| + WebLocalFrame* CreateChildFrame(
|
| + WebLocalFrame* parent,
|
| + WebTreeScopeType scope,
|
| + const WebString& name,
|
| + const WebString& fallback_name,
|
| + WebSandboxFlags sandbox_flags,
|
| + const WebParsedFeaturePolicy& container_policy,
|
| + const WebFrameOwnerProperties&) override {
|
| WebLocalFrame* frame =
|
| WebLocalFrame::Create(scope, &child_client_, nullptr, nullptr);
|
| parent->AppendChild(frame);
|
| @@ -11956,6 +11960,7 @@ class TestFallbackWebFrameClient : public FrameTestHelpers::TestWebFrameClient {
|
| const WebString&,
|
| const WebString&,
|
| WebSandboxFlags,
|
| + const WebParsedFeaturePolicy& container_policy,
|
| const WebFrameOwnerProperties& frameOwnerProperties) override {
|
| DCHECK(child_client_);
|
| WebLocalFrame* frame =
|
|
|