-diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
-index 69115f67c799..a2d83b8fa7b5 100644
---- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
-+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
+diff --git a/content/browser/renderer_host/render_widget_host_view_child_frame.cc b/content/browser/renderer_host/render_widget_host_view_child_frame.cc
+index fc5197ab84e9..caafd63c0219 100644
+--- a/content/browser/renderer_host/render_widget_host_view_child_frame.cc
++++ b/content/browser/renderer_host/render_widget_host_view_child_frame.cc
 @@ -31,12 +31,14 @@
  #include "content/browser/renderer_host/render_widget_host_impl.h"
  #include "content/browser/renderer_host/render_widget_host_input_event_router.h"

+  void EndFrameSubscription() override;
   void OnBeginFramePausedChanged(bool paused) override;
 
   // Exposed for tests.
@@ -258,6 +261,8 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
   // The surface client ID of the parent RenderWidgetHostView.  0 if none.
   viz::FrameSinkId parent_frame_sink_id_;
 
+  std::unique_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
+
   bool has_frame_ = false;
   cc::mojom::CompositorFrameSinkClient* renderer_compositor_frame_sink_ =
       nullptr;

 bool RenderWidgetHostViewChildFrame::HasEmbedderChanged() {
   return false;
 }
diff --git a/content/browser/renderer_host/render_widget_host_view_child_frame.h b/content/browser/renderer_host/render_widget_host_view_child_frame.h
index e994ab27f966..306d30f51ffe 100644
--- a/content/browser/renderer_host/render_widget_host_view_child_frame.h
+++ b/content/browser/renderer_host/render_widget_host_view_child_frame.h
@@ -180,8 +180,11 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
   void OnBeginFrame(const viz::BeginFrameArgs& args) override;
   void ReclaimResources(
       const std::vector<viz::ReturnedResource>& resources) override;
-  void WillDrawSurface(const viz::LocalSurfaceId& id,
-                       const gfx::Rect& damage_rect) override {}
+  void WillDrawSurface(const viz::LocalSurfaceId& local_surface_id,
