| Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| index b6358692fa2b5d1f3b5337391baf1b337f8ae388..59de3ad48c6a2ee263a0c8fa7d9ebe39fab2c9c9 100644
|
| --- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -173,6 +173,13 @@ void WebSharedWorkerImpl::LoadShadowPage() {
|
| SubstituteData(buffer, "text/html", "UTF-8", KURL())));
|
| }
|
|
|
| +void WebSharedWorkerImpl::FrameDetached(WebLocalFrame* frame, DetachType type) {
|
| + DCHECK(type == DetachType::kRemove && frame->Parent());
|
| + DCHECK(frame->FrameWidget());
|
| +
|
| + frame->Close();
|
| +}
|
| +
|
| void WebSharedWorkerImpl::DidFinishDocumentLoad() {
|
| DCHECK(IsMainThread());
|
| DCHECK(!loading_document_);
|
|
|