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

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

Issue 2507673002: Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask (2) (Closed)
Patch Set: address review comments Created 4 years, 1 month 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 | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index fb3246d9d7b5a0fca90587ecaca1ba190b6c5148..bd2cb259b0c4daab2bec0caea0f853cc84f642ea 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -58,6 +58,7 @@
#include "core/style/ComputedStyle.h"
#include "platform/Length.h"
#include "platform/Timer.h"
+#include "platform/WebTaskRunner.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/ReferrerPolicy.h"
#include "public/platform/WebFocusType.h"
@@ -74,7 +75,6 @@ class AXObjectCache;
class Attr;
class CDATASection;
class CSSStyleSheet;
-class CancellableTaskFactory;
class CanvasFontCache;
class CharacterData;
class ChromeClient;
@@ -1473,8 +1473,7 @@ class CORE_EXPORT Document : public ContainerNode,
// This is cheaper than making setCompatibilityMode virtual.
bool m_compatibilityModeLocked;
- std::unique_ptr<CancellableTaskFactory>
- m_executeScriptsWaitingForResourcesTask;
+ TaskHandle m_executeScriptsWaitingForResourcesTaskHandle;
bool m_hasAutofocused;
TaskRunnerTimer<Document> m_clearFocusedElementTimer;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698