| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| index 755881876dd0510f790399174ac2fd9fcf73d236..b058f8126a962afd95f4d5fef108c3836a48172a 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -99,7 +99,8 @@ namespace content {
|
| namespace {
|
|
|
| void MailboxReleaseCallback(scoped_ptr<base::SharedMemory> shared_memory,
|
| - unsigned sync_point, bool lost_resource) {
|
| + uint32 sync_point,
|
| + bool lost_resource) {
|
| // NOTE: shared_memory will get released when we go out of scope.
|
| }
|
|
|
| @@ -1090,8 +1091,10 @@ void RenderWidgetHostViewAura::CopyFromCompositingSurfaceToVideoFrame(
|
| ConvertRectToPixel(current_device_scale_factor_, src_subrect);
|
| request->set_area(src_subrect_in_pixel);
|
| if (subscriber_texture) {
|
| - request->SetTextureMailbox(cc::TextureMailbox(
|
| - subscriber_texture->mailbox(), subscriber_texture->sync_point()));
|
| + request->SetTextureMailbox(
|
| + cc::TextureMailbox(subscriber_texture->mailbox(),
|
| + subscriber_texture->target(),
|
| + subscriber_texture->sync_point()));
|
| }
|
| window_->layer()->RequestCopyOfOutput(request.Pass());
|
| }
|
| @@ -1855,7 +1858,7 @@ void RenderWidgetHostViewAura::PrepareTextureCopyOutputResult(
|
| ignore_result(scoped_callback_runner.Release());
|
|
|
| gl_helper->CropScaleReadbackAndCleanMailbox(
|
| - texture_mailbox.name(),
|
| + texture_mailbox.mailbox(),
|
| texture_mailbox.sync_point(),
|
| result->size(),
|
| gfx::Rect(result->size()),
|
| @@ -2037,11 +2040,10 @@ void RenderWidgetHostViewAura::CopyFromCompositingSurfaceHasResultForVideo(
|
| callback,
|
| subscriber_texture,
|
| base::Passed(&release_callback));
|
| - yuv_readback_pipeline->ReadbackYUV(
|
| - texture_mailbox.name(),
|
| - texture_mailbox.sync_point(),
|
| - video_frame.get(),
|
| - finished_callback);
|
| + yuv_readback_pipeline->ReadbackYUV(texture_mailbox.mailbox(),
|
| + texture_mailbox.sync_point(),
|
| + video_frame.get(),
|
| + finished_callback);
|
| }
|
|
|
| void RenderWidgetHostViewAura::GetScreenInfo(WebScreenInfo* results) {
|
|
|