| Index: third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
|
| index 0aa68619e95d1809523942cb8c54b5068af4ec39..693f9e4c04e504dabc264b7644ab32d80db49c48 100644
|
| --- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
|
| @@ -275,24 +275,13 @@ TestWebFrameClient::TestWebFrameClient()
|
| {
|
| }
|
|
|
| -WebFrame* TestWebFrameClient::createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString& name, const WebString& uniqueName, WebSandboxFlags sandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties)
|
| +WebLocalFrame* TestWebFrameClient::createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString& name, const WebString& uniqueName, WebSandboxFlags sandboxFlags, const WebFrameOwnerProperties& frameOwnerProperties)
|
| {
|
| - WebFrame* frame = WebLocalFrame::create(scope, this);
|
| + WebLocalFrame* frame = WebLocalFrame::create(scope, this);
|
| parent->appendChild(frame);
|
| return frame;
|
| }
|
|
|
| -void TestWebFrameClient::frameDetached(WebLocalFrame* frame, DetachType type)
|
| -{
|
| - if (type == DetachType::Remove && frame->parent())
|
| - frame->parent()->removeChild(frame);
|
| -
|
| - if (frame->frameWidget())
|
| - frame->frameWidget()->close();
|
| -
|
| - frame->close();
|
| -}
|
| -
|
| void TestWebFrameClient::didStartLoading(bool)
|
| {
|
| ++m_loadsInProgress;
|
|
|