| 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 62b1d6e9a92e1cfbbcc9399c09d9b76ce50a7bca..e8d384e723357b82d591899957195371b596131e 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
|
| @@ -9,8 +9,6 @@
|
| #include <vector>
|
|
|
| #include "build/build_config.h"
|
| -#include "cc/output/copy_output_request.h"
|
| -#include "cc/output/copy_output_result.h"
|
| #include "cc/surfaces/surface.h"
|
| #include "cc/surfaces/surface_factory.h"
|
| #include "cc/surfaces/surface_manager.h"
|
| @@ -428,21 +426,11 @@
|
| #endif // defined(OS_MACOSX)
|
|
|
| void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface(
|
| - const gfx::Rect& src_subrect,
|
| - const gfx::Size& output_size,
|
| + const gfx::Rect& /* src_subrect */,
|
| + const gfx::Size& /* dst_size */,
|
| const ReadbackRequestCallback& callback,
|
| - const SkColorType preferred_color_type) {
|
| - if (!surface_factory_ || surface_id_.is_null())
|
| - callback.Run(SkBitmap(), READBACK_FAILED);
|
| -
|
| - scoped_ptr<cc::CopyOutputRequest> request =
|
| - cc::CopyOutputRequest::CreateRequest(
|
| - base::Bind(&CopyFromCompositingSurfaceHasResult, output_size,
|
| - preferred_color_type, callback));
|
| - if (!src_subrect.IsEmpty())
|
| - request->set_area(src_subrect);
|
| -
|
| - surface_factory_->RequestCopyOfSurface(surface_id_, std::move(request));
|
| + const SkColorType /* preferred_color_type */) {
|
| + callback.Run(SkBitmap(), READBACK_FAILED);
|
| }
|
|
|
| void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame(
|
|
|