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

Unified Diff: third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: +DISALLOW_COPY_AND_ASSIGN for win build fix Created 3 years, 11 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/workers/ParentFrameTaskRunners.cpp
diff --git a/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp b/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
index ad238eebf69da2d9394a55e321012fa83d1e1827..e0dd0e4cbcdfaf1b94698c376498c81e4fd47640 100644
--- a/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
+++ b/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
@@ -25,7 +25,7 @@ ParentFrameTaskRunners::ParentFrameTaskRunners(LocalFrame* frame)
}
}
-WebTaskRunner* ParentFrameTaskRunners::get(TaskType type) {
+RefPtr<WebTaskRunner> ParentFrameTaskRunners::get(TaskType type) {
MutexLocker lock(m_taskRunnersMutex);
return m_taskRunners.get(type);
}

Powered by Google App Engine
This is Rietveld 408576698