| Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| index ade183dac0105abf43aaf619cf00a7e005e56a66..45888812eb4fe699895a285620fa4894c11c380b 100644
|
| --- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| @@ -321,6 +321,13 @@ void WebEmbeddedWorkerImpl::LoadShadowPage() {
|
| SubstituteData(buffer, "text/html", "UTF-8", KURL())));
|
| }
|
|
|
| +void WebEmbeddedWorkerImpl::FrameDetached(WebLocalFrame* frame,
|
| + DetachType type) {
|
| + DCHECK(type == DetachType::kRemove && frame->Parent());
|
| + DCHECK(frame->FrameWidget());
|
| + frame->Close();
|
| +}
|
| +
|
| void WebEmbeddedWorkerImpl::DidFinishDocumentLoad() {
|
| DCHECK(!main_script_loader_);
|
| DCHECK(main_frame_);
|
|
|