| 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 a0ab351eeb49445290da2a7aedd72c801d057ff2..b194b12acc238adb096946b664ad9b1ea0dbd8bc 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -5889,11 +5889,11 @@
|
| int willSendRequestCallCount() const { return m_willSendRequestCallCount; }
|
| int childFrameCreationCount() const { return m_childFrameCreationCount; }
|
|
|
| - virtual WebLocalFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString&, const WebString&, WebSandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties)
|
| + virtual WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString&, const WebString&, WebSandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties)
|
| {
|
| DCHECK(m_childClient);
|
| m_childFrameCreationCount++;
|
| - WebLocalFrame* frame = WebLocalFrame::create(scope, m_childClient);
|
| + WebFrame* frame = WebLocalFrame::create(scope, m_childClient);
|
| parent->appendChild(frame);
|
| return frame;
|
| }
|
| @@ -6277,10 +6277,10 @@
|
| public:
|
| FailCreateChildFrame() : m_callCount(0) { }
|
|
|
| - WebLocalFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString& frameName, const WebString& frameUniqueName, WebSandboxFlags sandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties) override
|
| + WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString& frameName, const WebString& frameUniqueName, WebSandboxFlags sandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties) override
|
| {
|
| ++m_callCount;
|
| - return nullptr;
|
| + return 0;
|
| }
|
|
|
| int callCount() const { return m_callCount; }
|
|
|