Advertisement
Guest User

Untitled

a guest
Sep 18th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. diff --git a/gpu/ipc/in_process_command_buffer.cc b/gpu/ipc/in_process_command_buffer.cc
  2. index 9253371b9cb9..2b712b3a9a45 100644
  3. --- a/gpu/ipc/in_process_command_buffer.cc
  4. +++ b/gpu/ipc/in_process_command_buffer.cc
  5. @@ -215,8 +215,8 @@ class InProcessCommandBuffer::SharedImageInterface
  6. // time, cancelling tasks, before |this| is destroyed.
  7. parent_->ScheduleGpuTask(base::BindOnce(
  8. &InProcessCommandBuffer::CreateSharedImageOnGpuThread,
  9. - parent_->gpu_thread_weak_ptr_, mailbox, format, size, color_space,
  10. - usage, MakeSyncToken(next_fence_sync_release_++)));
  11. + parent_->gpu_thread_weak_ptr_factory_.GetWeakPtr(), mailbox, format,
  12. + size, color_space, usage, MakeSyncToken(next_fence_sync_release_++)));
  13. }
  14. return mailbox;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement