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

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.h

Issue 2612713002: Move core/editing timer to frame-specific task runners. (Closed)
Patch Set: Created 3 years, 12 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
Index: third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.h
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.h b/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.h
index 7ebd98eeba59a827f67e1e9374565ceaaf5c75ff..b3b1a9354226008b29e9fcbfa0f3e17e8621df40 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.h
+++ b/third_party/WebKit/Source/core/editing/spellcheck/IdleSpellCheckCallback.h
@@ -79,8 +79,7 @@ class CORE_EXPORT IdleSpellCheckCallback final : public IdleRequestCallback {
State m_state;
const Member<LocalFrame> m_frame;
- // TODO(xiaochengh): assign the timer to some proper task runner.
- Timer<IdleSpellCheckCallback> m_coldModeTimer;
+ TaskRunnerTimer<IdleSpellCheckCallback> m_coldModeTimer;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698