Index: Source/web/tests/WebViewTest.cpp |
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
index 32a136e476bf1e83decee22cedcbdeb0d8f0405d..965da847584b76052c626f47ee3dce7ecd36137d 100644 |
--- a/Source/web/tests/WebViewTest.cpp |
+++ b/Source/web/tests/WebViewTest.cpp |
@@ -1687,7 +1687,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; } |
@@ -1695,10 +1695,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) |