• Yuta Kitamura's avatar
    Move compositor thread to Platform. · 4e256bfc
    Yuta Kitamura authored
    This CL moves the ownership of the compositor thread from RenderThread-
    Impl to Platform in order to reduce //content's dependency to
    WebThread.
    
    Now Platform::CompositorThread() is a concrete member function, and
    the compositor thread is initialized by Platform::Initialize-
    CompositorThread(). Some components of //content require the task
    runner of the compositor thread, so RenderThreadImpl::
    compositor_task_runner() is still available.
    
    Bug: 826203
    Change-Id: I6fe71835d7b7671d8781744ec62561242c6be29f
    Reviewed-on: https://chromium-review.googlesource.com/1245039
    Commit-Queue: Yuta Kitamura <yutak@chromium.org>
    Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
    Reviewed-by: default avatarAlexander Timin <altimin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#594611}
    4e256bfc
render_thread_impl.h 28.5 KB