| Index: content/browser/frame_host/render_widget_host_view_child_frame.cc
|
| 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 0ca70af2003a1d4c1c161be7b79efacbfbb52d54..29f3753ac2e9af57a247bb0ecf1f7dbf073f61e2 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
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "content/browser/frame_host/render_widget_host_view_child_frame.h"
|
|
|
| +#include <algorithm>
|
| +#include <vector>
|
| +
|
| #include "cc/surfaces/surface.h"
|
| #include "cc/surfaces/surface_factory.h"
|
| #include "cc/surfaces/surface_manager.h"
|
| @@ -415,11 +418,11 @@ void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface(
|
| }
|
|
|
| void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame(
|
| - const gfx::Rect& src_subrect,
|
| - const scoped_refptr<media::VideoFrame>& target,
|
| - const base::Callback<void(bool)>& callback) {
|
| + const gfx::Rect& src_subrect,
|
| + const scoped_refptr<media::VideoFrame>& target,
|
| + const base::Callback<void(const gfx::Rect&, bool)>& callback) {
|
| NOTIMPLEMENTED();
|
| - callback.Run(false);
|
| + callback.Run(gfx::Rect(), false);
|
| }
|
|
|
| bool RenderWidgetHostViewChildFrame::CanCopyToVideoFrame() const {
|
|
|