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

Unified Diff: android_webview/browser/surfaces_instance.cc

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: android_webview/browser/surfaces_instance.cc
diff --git a/android_webview/browser/surfaces_instance.cc b/android_webview/browser/surfaces_instance.cc
index 708cd3323755e9ba40f3fb7723d9890fc12fd1ac..6b1c5e2bcd1d12ad4f18f3b9c1a35c6da5f037ab 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -175,7 +175,10 @@ void SurfacesInstance::SetEmptyRootFrame() {
support_->SubmitCompositorFrame(root_id_, std::move(empty_frame));
}
-void SurfacesInstance::DidReceiveCompositorFrameAck() {}
+void SurfacesInstance::DidReceiveCompositorFrameAck(
+ const cc::ReturnedResourceArray& resources) {
+ ReclaimResources(resources);
+}
void SurfacesInstance::OnBeginFrame(const cc::BeginFrameArgs& args) {}

Powered by Google App Engine
This is Rietveld 408576698