Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
index 8290f432b2e66175bb0a6805e02215c38c1997ed..cdafa11de8f6fa90b7f2f21bc61963b895347d24 100644 |
--- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
@@ -2186,7 +2186,7 @@ TEST_F(WebViewTest, SmartClipReturnsEmptyStringsWhenUserSelectIsNone) |
class CreateChildCounterFrameClient : public FrameTestHelpers::TestWebFrameClient { |
public: |
CreateChildCounterFrameClient() : m_count(0) { } |
- WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType, const WebString& frameName, WebSandboxFlags, const WebFrameOwnerProperties&) override; |
+ WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType, const WebString& frameName, const WebString& frameUniqueName, WebSandboxFlags, const WebFrameOwnerProperties&) override; |
int count() const { return m_count; } |
@@ -2194,10 +2194,10 @@ private: |
int m_count; |
}; |
-WebFrame* CreateChildCounterFrameClient::createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString& frameName, WebSandboxFlags sandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties) |
+WebFrame* CreateChildCounterFrameClient::createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString& frameName, const WebString& frameUniqueName, WebSandboxFlags sandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties) |
{ |
++m_count; |
- return TestWebFrameClient::createChildFrame(parent, scope, frameName, sandboxFlags, frameOwnerProperties); |
+ return TestWebFrameClient::createChildFrame(parent, scope, frameName, frameUniqueName, sandboxFlags, frameOwnerProperties); |
} |
TEST_F(WebViewTest, ChangeDisplayMode) |