| Index: Source/core/html/HTMLFrameOwnerElement.cpp
|
| diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp
|
| index 29e31eca22117163abe05319a48612fe0200a89f..70cd4a48b8a8e8f5eae965e62b7a96558fa7b8c1 100644
|
| --- a/Source/core/html/HTMLFrameOwnerElement.cpp
|
| +++ b/Source/core/html/HTMLFrameOwnerElement.cpp
|
| @@ -152,7 +152,6 @@ void HTMLFrameOwnerElement::disconnectContentFrame()
|
| // see if this behavior is really needed as Gecko does not allow this.
|
| if (RefPtrWillBeRawPtr<Frame> frame = contentFrame()) {
|
| frame->detach();
|
| - frame->disconnectOwnerElement();
|
| }
|
| #if ENABLE(OILPAN)
|
| // Oilpan: a plugin container must be explicitly disposed before it
|
| @@ -168,14 +167,9 @@ void HTMLFrameOwnerElement::disconnectContentFrame()
|
|
|
| HTMLFrameOwnerElement::~HTMLFrameOwnerElement()
|
| {
|
| -#if ENABLE(OILPAN)
|
| // An owner must by now have been informed of detachment
|
| // when the frame was closed.
|
| ASSERT(!m_contentFrame);
|
| -#else
|
| - if (m_contentFrame)
|
| - m_contentFrame->disconnectOwnerElement();
|
| -#endif
|
| }
|
|
|
| Document* HTMLFrameOwnerElement::contentDocument() const
|
|
|