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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 41c4acbebeca49721c5b611340595875edba55c4..712527e2f24bf6fa2ec3b1003ede34a8e52d480c 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -117,13 +117,13 @@ class OutputSurfaceWithoutParent : public cc::OutputSurface {
return command_buffer_proxy;
}
- void OnSwapBuffersCompleted(
- const std::vector<ui::LatencyInfo>& latency_info) {
+ void OnSwapBuffersCompleted(const std::vector<ui::LatencyInfo>& latency_info,
+ int result) {
RenderWidgetHostImpl::CompositorFrameDrawn(latency_info);
OutputSurface::OnSwapBuffersComplete();
}
- base::CancelableCallback<void(const std::vector<ui::LatencyInfo>&)>
+ base::CancelableCallback<void(const std::vector<ui::LatencyInfo>&, int)>
swap_buffers_completion_callback_;
scoped_refptr<base::MessageLoopProxy> main_thread_;

Powered by Google App Engine
This is Rietveld 408576698