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

Unified Diff: third_party/WebKit/Source/platform/TimerTest.cpp

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: mac fix Created 4 years 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/TimerTest.cpp
diff --git a/third_party/WebKit/Source/platform/TimerTest.cpp b/third_party/WebKit/Source/platform/TimerTest.cpp
index 1135c84eaea3cf98c63a346dbb70f787bedc694f..c945aa0b67dffab909dff8f70b5d64e3dc03bff4 100644
--- a/third_party/WebKit/Source/platform/TimerTest.cpp
+++ b/third_party/WebKit/Source/platform/TimerTest.cpp
@@ -526,10 +526,10 @@ class TimerForTest : public TaskRunnerTimer<TimerFiredClass> {
~TimerForTest() override {}
- TimerForTest(WebTaskRunner* webTaskRunner,
+ TimerForTest(RefPtr<WebTaskRunner> webTaskRunner,
TimerFiredClass* timerFiredClass,
TimerFiredFunction timerFiredFunction)
- : TaskRunnerTimer<TimerFiredClass>(webTaskRunner,
+ : TaskRunnerTimer<TimerFiredClass>(std::move(webTaskRunner),
timerFiredClass,
timerFiredFunction) {}
};

Powered by Google App Engine
This is Rietveld 408576698