Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
index 7692c9c0c9a7fba0788e01aff8adb4d620af7099..4272b022eeaf99a34a47d990d7b3bd024dad346a 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -181,16 +181,6 @@ void HTMLFrameOwnerElement::disconnectContentFrame() |
if (RefPtrWillBeRawPtr<Frame> frame = contentFrame()) { |
frame->detach(FrameDetachType::Remove); |
} |
-#if ENABLE(OILPAN) |
- // Oilpan: a plugin container must be explicitly disposed before it |
- // is swept and finalized. This is because the underlying plugin needs |
- // to be able to access a fully-functioning frame (and all it refers |
- // to) while it destructs and cleans out its resources. |
- if (m_widget) { |
- m_widget->dispose(); |
- m_widget = nullptr; |
- } |
-#endif |
} |
HTMLFrameOwnerElement::~HTMLFrameOwnerElement() |