| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index fc9f7479ed5429bd8e8b0ad4a5e6c38bc3ccb8b7..0f754b0f79e20f8807ca7c36883c5854c1e5e26b 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -2755,17 +2755,6 @@ void Document::checkLoadEventSoon()
|
|
|
| bool Document::isDelayingLoadEvent()
|
| {
|
| -#if ENABLE(OILPAN)
|
| - // Always delay load events until after garbage collection.
|
| - // This way we don't have to explicitly delay load events via
|
| - // incrementLoadEventDelayCount and decrementLoadEventDelayCount in
|
| - // Node destructors.
|
| - if (ThreadState::current()->isSweepInProgress()) {
|
| - if (!m_loadEventDelayCount)
|
| - checkLoadEventSoon();
|
| - return true;
|
| - }
|
| -#endif
|
| return m_loadEventDelayCount;
|
| }
|
|
|
|
|