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

Unified Diff: third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.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/platform/mac/ScrollAnimatorMac.h
diff --git a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h
index 8a8663402e903046e2802cd95be3d1998498bad0..800a12218066620fc43c3699b5523dcb3fdb8c2e 100644
--- a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h
+++ b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h
@@ -32,7 +32,6 @@
#include "platform/geometry/FloatSize.h"
#include "platform/geometry/IntRect.h"
#include "platform/heap/Handle.h"
-#include "platform/scheduler/CancellableTaskFactory.h"
#include "platform/scroll/ScrollAnimatorBase.h"
#include "wtf/RetainPtr.h"
#include <memory>
@@ -82,10 +81,10 @@ class PLATFORM_EXPORT ScrollAnimatorMac : public ScrollAnimatorBase {
RetainPtr<BlinkScrollbarPainterDelegate> m_verticalScrollbarPainterDelegate;
void initialScrollbarPaintTask();
- std::unique_ptr<CancellableTaskFactory> m_initialScrollbarPaintTaskFactory;
+ TaskHandle m_initialScrollbarPaintTaskHandle;
void sendContentAreaScrolledTask();
- std::unique_ptr<CancellableTaskFactory> m_sendContentAreaScrolledTaskFactory;
+ TaskHandle m_sendContentAreaScrolledTaskHandle;
std::unique_ptr<WebTaskRunner> m_taskRunner;
ScrollOffset m_contentAreaScrolledTimerScrollDelta;
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698