Chromium Code Reviews| Index: Source/web/WebLocalFrameImpl.cpp |
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
| index a4ef3ca69934b7c524ef56777bdbae44b3460cab..9f62bd60aed6cdadb26008285af540d5e9a360a4 100644 |
| --- a/Source/web/WebLocalFrameImpl.cpp |
| +++ b/Source/web/WebLocalFrameImpl.cpp |
| @@ -498,6 +498,9 @@ void WebLocalFrameImpl::close() |
| { |
| m_client = 0; |
| + if (m_frame) |
| + m_frame->setHasBeenClosed(); |
| + |
| deref(); // Balances ref() acquired in WebFrame::create |
| } |