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 d936487d2f1f6807e164e89c71e22cc8f3a1ffd8..d02156a7bdcae223256b0c6356fd09d1f13d31cc 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -7100,6 +7100,7 @@ class TestCachePolicyWebFrameClient |
const WebString&, |
const WebString&, |
WebSandboxFlags, |
+ const WebParsedFeaturePolicy&, |
const WebFrameOwnerProperties& frameOwnerProperties) override { |
DCHECK(m_childClient); |
m_childFrameCreationCount++; |
@@ -7506,6 +7507,7 @@ class FailCreateChildFrame : public FrameTestHelpers::TestWebFrameClient { |
const WebString& name, |
const WebString& fallbackName, |
WebSandboxFlags sandboxFlags, |
+ const WebParsedFeaturePolicy& containerPolicy, |
const WebFrameOwnerProperties& frameOwnerProperties) override { |
++m_callCount; |
return nullptr; |
@@ -11367,12 +11369,14 @@ TEST_F(WebFrameTest, NoLoadingCompletionCallbacksInDetach) { |
class MainFrameClient : public FrameTestHelpers::TestWebFrameClient { |
public: |
- WebLocalFrame* createChildFrame(WebLocalFrame* parent, |
- WebTreeScopeType scope, |
- const WebString& name, |
- const WebString& fallbackName, |
- WebSandboxFlags sandboxFlags, |
- const WebFrameOwnerProperties&) override { |
+ WebLocalFrame* createChildFrame( |
+ WebLocalFrame* parent, |
+ WebTreeScopeType scope, |
+ const WebString& name, |
+ const WebString& fallbackName, |
+ WebSandboxFlags sandboxFlags, |
+ const WebParsedFeaturePolicy& containerPolicy, |
+ const WebFrameOwnerProperties&) override { |
WebLocalFrame* frame = |
WebLocalFrame::create(scope, &m_childClient, nullptr, nullptr); |
parent->appendChild(frame); |