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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.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/platform/graphics/OffscreenCanvasPlaceholder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
index 4e0abe8f1851e698cb6a279d968b7069ca94c714..d1fa3da37ddaf88fef4b1959220bbe7d529770c7 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
@@ -64,7 +64,7 @@ void OffscreenCanvasPlaceholder::unregisterPlaceholder() {
void OffscreenCanvasPlaceholder::setPlaceholderFrame(
RefPtr<StaticBitmapImage> newFrame,
WeakPtr<OffscreenCanvasFrameDispatcher> dispatcher,
- std::unique_ptr<WebTaskRunner> taskRunner,
+ RefPtr<WebTaskRunner> taskRunner,
unsigned resourceId) {
DCHECK(isPlaceholderRegistered());
DCHECK(newFrame);

Powered by Google App Engine
This is Rietveld 408576698