| Index: Source/core/dom/MutationObserver.cpp
|
| diff --git a/Source/core/dom/MutationObserver.cpp b/Source/core/dom/MutationObserver.cpp
|
| index b90f533d01cdc4f83d053fc6c3b25d1af35500a4..d0abebffa307ab991be556e9a3ad3fd8f69f66b6 100644
|
| --- a/Source/core/dom/MutationObserver.cpp
|
| +++ b/Source/core/dom/MutationObserver.cpp
|
| @@ -64,21 +64,13 @@ MutationObserver::MutationObserver(PassOwnPtrWillBeRawPtr<MutationCallback> call
|
| : m_callback(callback)
|
| , m_priority(s_observerPriority++)
|
| {
|
| -#if ENABLE(OILPAN)
|
| - ThreadState::current()->registerPreFinalizer(*this);
|
| -#endif
|
| }
|
|
|
| MutationObserver::~MutationObserver()
|
| {
|
| #if !ENABLE(OILPAN)
|
| ASSERT(m_registrations.isEmpty());
|
| - dispose();
|
| #endif
|
| -}
|
| -
|
| -void MutationObserver::dispose()
|
| -{
|
| if (!m_records.isEmpty())
|
| InspectorInstrumentation::didClearAllMutationRecords(m_callback->executionContext(), this);
|
| }
|
|
|