| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index 9da6d1bc717b6c2687451c6a1db43f858cdc1764..b35675a0292e010474f727d486e909df5019dcde 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -509,6 +509,15 @@ WebRemoteFrame* WebLocalFrameImpl::toWebRemoteFrame()
|
| void WebLocalFrameImpl::close()
|
| {
|
| m_client = 0;
|
| +
|
| + // FIXME: Oilpan: Signal to LocalFrame and its supplements that the frame is
|
| + // being torn down so it can do prompt clean-up. For example, this will
|
| + // clear the raw back pointer to m_geolocationClientProxy. Once
|
| + // GeolocationClientProxy is on-heap it looks like we can completely remove
|
| + // |willBeDestroyed| from supplements since tracing will ensure safety.
|
| + if (m_frame)
|
| + m_frame->willBeDestroyed();
|
| +
|
| deref(); // Balances ref() acquired in WebFrame::create
|
| }
|
|
|
|
|