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

Unified Diff: third_party/WebKit/Source/platform/Timer.h

Issue 2290243002: Make blink::TimerBase own the WebTaskRunner for timer task (Closed)
Patch Set: use adoptRef Created 4 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
Index: third_party/WebKit/Source/platform/Timer.h
diff --git a/third_party/WebKit/Source/platform/Timer.h b/third_party/WebKit/Source/platform/Timer.h
index 295d0513c5d12a02c8a9a7d9d2497d787e2e68d0..6269416f8e85f0a0b4ded5f5c8cee0b5f70bd47a 100644
--- a/third_party/WebKit/Source/platform/Timer.h
+++ b/third_party/WebKit/Source/platform/Timer.h
@@ -130,7 +130,7 @@ private:
double m_repeatInterval; // 0 if not repeating
WebTraceLocation m_location;
CancellableTimerTask* m_cancellableTimerTask; // NOT OWNED
- WebTaskRunner* m_webTaskRunner; // Not owned.
+ std::unique_ptr<WebTaskRunner> m_webTaskRunner;
#if DCHECK_IS_ON()
ThreadIdentifier m_thread;
« no previous file with comments | « third_party/WebKit/Source/core/layout/ImageQualityControllerTest.cpp ('k') | third_party/WebKit/Source/platform/Timer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698