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

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

Issue 2814483002: Splitting up RenderWidgetHostLatencyTracker and some renames. (Closed)
Patch Set: [Moving OnGpuSwapBuffersCompleted() back up. 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: 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 bfc265f4d4af18e2450629f11828e91d382043fa..88fc659b2001cd8ed269b0844195e9f70a14e681 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -230,7 +230,7 @@ class AndroidOutputSurface : public cc::OutputSurface {
~AndroidOutputSurface() override = default;
void SwapBuffers(cc::OutputSurfaceFrame frame) override {
- GetCommandBufferProxy()->SetLatencyInfo(frame.latency_info);
+ GetCommandBufferProxy()->AddLatencyInfo(frame.latency_info);
if (frame.sub_buffer_rect) {
DCHECK(frame.sub_buffer_rect->IsEmpty());
context_provider_->ContextSupport()->CommitOverlayPlanes();
« no previous file with comments | « content/browser/renderer_host/DEPS ('k') | content/browser/renderer_host/input/render_widget_host_latency_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698