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

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

Issue 2720803002: Pass returned resources to DidReceiveCompositorFrameAck (Closed)
Patch Set: c Created 3 years, 8 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 5514914036819491b9b2ff0d254979d7b91f7d08..c4c1429966dd7fb90c0825a49d02a2a6fce45c50 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
@@ -402,7 +402,9 @@ void OffscreenCanvasFrameDispatcherImpl::DispatchFrame(
sink_->SubmitCompositorFrame(current_local_surface_id_, std::move(frame));
}
-void OffscreenCanvasFrameDispatcherImpl::DidReceiveCompositorFrameAck() {
+void OffscreenCanvasFrameDispatcherImpl::DidReceiveCompositorFrameAck(
+ const cc::ReturnedResourceArray& resources) {
+ ReclaimResources(resources);
// TODO(fsamuel): Implement this.
}

Powered by Google App Engine
This is Rietveld 408576698