Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1957)

Unified Diff: sky/engine/core/dom/Document.cpp

Issue 678003003: Begin to remove heap/* (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/css/StylePropertySet.cpp ('k') | sky/engine/core/dom/DocumentTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « sky/engine/core/css/StylePropertySet.cpp ('k') | sky/engine/core/dom/DocumentTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698