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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h

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.h
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h
index f03040eca7c2c774a977d73e6ea1ec0f3c9f1657..d35b0fa0d4acf4ef546233c594ebacddb39b34a7 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h
@@ -22,7 +22,7 @@ class PLATFORM_EXPORT OffscreenCanvasPlaceholder {
void setPlaceholderFrame(RefPtr<Image>,
WeakPtr<OffscreenCanvasFrameDispatcher>,
- std::unique_ptr<WebTaskRunner>,
+ RefPtr<WebTaskRunner>,
unsigned resourceId);
void releasePlaceholderFrame();
@@ -39,7 +39,7 @@ class PLATFORM_EXPORT OffscreenCanvasPlaceholder {
RefPtr<Image> m_placeholderFrame;
WeakPtr<OffscreenCanvasFrameDispatcher> m_frameDispatcher;
- std::unique_ptr<WebTaskRunner> m_frameDispatcherTaskRunner;
+ RefPtr<WebTaskRunner> m_frameDispatcherTaskRunner;
unsigned m_placeholderFrameResourceId = 0;
enum {

Powered by Google App Engine
This is Rietveld 408576698