Index: Source/web/tests/WebViewTest.cpp |
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
index 226510ae3d51ce7ef19e829ff091b5cb98588c1e..b3b839fc8b83773e158e72e7bbb35c9354b1f9a2 100644 |
--- a/Source/web/tests/WebViewTest.cpp |
+++ b/Source/web/tests/WebViewTest.cpp |
@@ -1688,7 +1688,7 @@ TEST_F(WebViewTest, SmartClipReturnsEmptyStringsWhenUserSelectIsNone) |
class CreateChildCounterFrameClient : public FrameTestHelpers::TestWebFrameClient { |
public: |
CreateChildCounterFrameClient() : m_count(0) { } |
- virtual WebFrame* createChildFrame(WebLocalFrame* parent, const WebString& frameName) override; |
+ virtual WebFrame* createChildFrame(WebLocalFrame* parent, const WebString& frameName, WebSandboxFlags) override; |
int count() const { return m_count; } |
@@ -1696,10 +1696,10 @@ private: |
int m_count; |
}; |
-WebFrame* CreateChildCounterFrameClient::createChildFrame(WebLocalFrame* parent, const WebString& frameName) |
+WebFrame* CreateChildCounterFrameClient::createChildFrame(WebLocalFrame* parent, const WebString& frameName, WebSandboxFlags sandboxFlags) |
{ |
++m_count; |
- return TestWebFrameClient::createChildFrame(parent, frameName); |
+ return TestWebFrameClient::createChildFrame(parent, frameName, sandboxFlags); |
} |
TEST_F(WebViewTest, AddFrameInCloseUnload) |