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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp

Issue 2906763004: Make Image RefCounted
Patch Set: Created 3 years, 7 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/OffscreenCanvasFrameDispatcherImpl.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
index b51d02e8d83df63737d8a4e9b5e29a17dc08e7b7..3a1ec19b152e57b5ac3e0721b1487f35d1cce002 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
@@ -188,7 +188,6 @@ void OffscreenCanvasFrameDispatcherImpl::PostImageToPlaceholder(
RefPtr<StaticBitmapImage> image) {
// After this point, |image| can only be used on the main thread, until
// it is returned.
- image->Transfer();
RefPtr<WebTaskRunner> dispatcher_task_runner =
Platform::Current()->CurrentThread()->GetWebTaskRunner();

Powered by Google App Engine
This is Rietveld 408576698