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

Unified Diff: Source/core/dom/Document.h

Issue 1304943004: Revert of Make m_executeScriptsWaitingForResourcesTimer a loading task (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index a4602cdc632b4490325378160a52cac94cb26b19..8dfb0ea6d6f06a78606cf5b6ddb261276214b16a 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -57,7 +57,6 @@
#include "platform/Length.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
-#include "platform/scheduler/CancellableTaskFactory.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/ReferrerPolicy.h"
#include "public/platform/WebFocusType.h"
@@ -1123,7 +1122,7 @@
void updateFocusAppearanceTimerFired(Timer<Document>*);
void updateBaseURL();
- void executeScriptsWaitingForResources();
+ void executeScriptsWaitingForResourcesTimerFired(Timer<Document>*);
void loadEventDelayTimerFired(Timer<Document>*);
void pluginLoadingTimerFired(Timer<Document>*);
@@ -1198,7 +1197,7 @@
CompatibilityMode m_compatibilityMode;
bool m_compatibilityModeLocked; // This is cheaper than making setCompatibilityMode virtual.
- CancellableTaskFactory m_executeScriptsWaitingForResourcesTask;
+ Timer<Document> m_executeScriptsWaitingForResourcesTimer;
bool m_hasAutofocused;
Timer<Document> m_clearFocusedElementTimer;
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698