   protected:
    friend class RenderWidgetHostView;
    friend class RenderWidgetHostViewChildFrameTest;
-@@ -245,6 +251,8 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
+@@ -254,6 +260,8 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
    // The surface client ID of the parent RenderWidgetHostView.  0 if none.
-   uint32_t parent_surface_client_id_;
+   cc::FrameSinkId parent_frame_sink_id_;
  
 +  std::unique_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
 +

+
 }  // namespace content
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h
index 97bcf88..98afe09 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h
@@ -191,6 +191,12 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
   void RegisterSurfaceNamespaceId();
   void UnregisterSurfaceNamespaceId();
 
+  void WillDrawSurface(
+      const cc::SurfaceId& id, const gfx::Rect& damage_rect) override;

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 1831d48..6cd2f3e 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
@@ -32,7 +32,9 @@
 #include "content/common/view_messages.h"
 #include "content/public/browser/guest_mode.h"
 #include "content/public/browser/render_process_host.h"
+#include "content/public/browser/render_widget_host_view_frame_subscriber.h"
 #include "gpu/ipc/common/gpu_messages.h"
+#include "media/base/video_frame.h"
 #include "third_party/WebKit/public/platform/WebInputEvent.h"
 #include "ui/gfx/geometry/size_conversions.h"
 #include "ui/gfx/geometry/size_f.h"
@@ -745,4 +747,26 @@ cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const {
   return cc::SurfaceId(frame_sink_id_, local_frame_id_);
 };
 
+void RenderWidgetHostViewChildFrame::WillDrawSurface(
