Chromium Code Reviews

Unified Diff: content/browser/compositor/offscreen_browser_compositor_output_surface.cc

Issue 2788893004: Renaming gpu swap buffer callbacks and the screenshot latency component. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: content/browser/compositor/offscreen_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
index 6f133816a2fc602862ef0f036d58cfd56d1156ed..0a20e5fe3b84413e870201819eed6e982e8bc979 100644
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
@@ -193,7 +193,7 @@ void OffscreenBrowserCompositorOutputSurface::OnReflectorChanged() {
void OffscreenBrowserCompositorOutputSurface::OnSwapBuffersComplete(
const std::vector<ui::LatencyInfo>& latency_info) {
- RenderWidgetHostImpl::CompositorFrameDrawn(latency_info);
+ RenderWidgetHostImpl::OnGpuSwapBufersCompleted(latency_info);
client_->DidReceiveSwapBuffersAck();
}

Powered by Google App Engine