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

Unified Diff: third_party/WebKit/Source/web/InspectorEmulationAgent.h

Issue 2514733002: Scheduler: Deprecate CancellableTaskFactory in favor of WebTaskRunner::postCancellableTask (3) (Closed)
Patch Set: rebase 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
Index: third_party/WebKit/Source/web/InspectorEmulationAgent.h
diff --git a/third_party/WebKit/Source/web/InspectorEmulationAgent.h b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
index 20bc0fc3db7ebcd8d8e03d5b4df41b4fc029b8da..ae6ea0a1616bbab9dcdb7a20974391b9f589ad5c 100644
--- a/third_party/WebKit/Source/web/InspectorEmulationAgent.h
+++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.h
@@ -7,10 +7,10 @@
#include "core/inspector/InspectorBaseAgent.h"
#include "core/inspector/protocol/Emulation.h"
+#include "platform/WebTaskRunner.h"
namespace blink {
-class CancellableTaskFactory;
class WebLocalFrameImpl;
class WebViewImpl;
@@ -55,7 +55,7 @@ class InspectorEmulationAgent final
Member<WebLocalFrameImpl> m_webLocalFrameImpl;
Client* m_client;
- std::unique_ptr<CancellableTaskFactory> m_virtualTimeBudgetExpiredTask;
+ TaskHandle m_virtualTimeBudgetExpiredTaskHandle;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698