| Index: Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
|
| index 1cbbdb1f7cf1c1f15bcb5e62c6b34973dc0c330e..e63ced73b452873d7737768e36fcf2e11c652b92 100644
|
| --- a/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -89,6 +89,7 @@
|
| #include "web/PluginPlaceholderImpl.h"
|
| #include "web/SharedWorkerRepositoryClientImpl.h"
|
| #include "web/WebDataSourceImpl.h"
|
| +#include "web/WebDevToolsFrontendImpl.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| #include "web/WebPluginContainerImpl.h"
|
| #include "web/WebPluginLoadObserver.h"
|
| @@ -131,6 +132,10 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld()
|
| DOMWindowStorageController::from(*document);
|
| }
|
| }
|
| + // FIXME: when extensions go out of process, this whole concept stops working.
|
| + WebDevToolsFrontendImpl* devToolsFrontend = m_webFrame->top()->isWebLocalFrame() ? toWebLocalFrameImpl(m_webFrame->top())->devToolsFrontend() : nullptr;
|
| + if (devToolsFrontend)
|
| + devToolsFrontend->didClearWindowObject(m_webFrame);
|
| }
|
|
|
| void FrameLoaderClientImpl::documentElementAvailable()
|
|
|