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/platform/graphics/OffscreenCanvasPlaceholder.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/graphics/OffscreenCanvasPlaceholder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
index e8cd0ce3c9dfa33235eafe6f8dd173af2faf85da..b6bb844e7686bedc98362b30c5a8af3872a3f310 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<Image> 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