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

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

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.h
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h
index 33b9f625c2e66fa066b062e3e768c49c9c161ce6..d5a302e4444e348c7f4385144a8635f57146979e 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<StaticBitmapImage>,
WeakPtr<OffscreenCanvasFrameDispatcher>,
- std::unique_ptr<WebTaskRunner>,
+ RefPtr<WebTaskRunner>,
unsigned resourceId);
void releasePlaceholderFrame();
@@ -41,7 +41,7 @@ class PLATFORM_EXPORT OffscreenCanvasPlaceholder {
RefPtr<StaticBitmapImage> 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