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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.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/OffscreenCanvasPlaceholder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
index b69206135d591103bd4919335b3962967939fba6..ab006325727960c77379f31bc80bd1132f4eb6b3 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
@@ -78,7 +78,6 @@ void OffscreenCanvasPlaceholder::SetPlaceholderFrame(
void OffscreenCanvasPlaceholder::ReleasePlaceholderFrame() {
DCHECK(IsPlaceholderRegistered());
if (placeholder_frame_) {
- placeholder_frame_->Transfer();
frame_dispatcher_task_runner_->PostTask(
BLINK_FROM_HERE,
CrossThreadBind(releaseFrameToDispatcher, std::move(frame_dispatcher_),

Powered by Google App Engine
This is Rietveld 408576698