| 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 cfc771a0e31d2e4ef3746a7bb0c0d06517a1263e..a4e2e14e81531fcfeac8345253bebd4219e16488 100644
|
| --- a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
|
| +++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
|
| @@ -14,7 +14,6 @@
|
| #include "components/display_compositor/compositor_overlay_candidate_validator.h"
|
| #include "content/browser/compositor/reflector_impl.h"
|
| #include "content/browser/compositor/reflector_texture.h"
|
| -#include "content/browser/renderer_host/render_widget_host_impl.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "gpu/command_buffer/client/context_support.h"
|
| #include "gpu/command_buffer/client/gles2_interface.h"
|
| @@ -157,7 +156,7 @@
|
| sync_token,
|
| base::Bind(
|
| &OffscreenBrowserCompositorOutputSurface::OnSwapBuffersComplete,
|
| - weak_ptr_factory_.GetWeakPtr(), frame.latency_info));
|
| + weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| bool OffscreenBrowserCompositorOutputSurface::IsDisplayedAsOverlayPlane()
|
| @@ -186,9 +185,7 @@
|
| }
|
| }
|
|
|
| -void OffscreenBrowserCompositorOutputSurface::OnSwapBuffersComplete(
|
| - const std::vector<ui::LatencyInfo>& latency_info) {
|
| - RenderWidgetHostImpl::CompositorFrameDrawn(latency_info);
|
| +void OffscreenBrowserCompositorOutputSurface::OnSwapBuffersComplete() {
|
| client_->DidReceiveSwapBuffersAck();
|
| }
|
|
|
|
|