Reland: Implement and test task runners in RasterWorkerPool.
commit4517a189421126a3162db7d3aa3341d724e3f62d
authordcastagna <dcastagna@chromium.org>
Wed, 5 Aug 2015 19:51:03 +0000 (5 12:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Aug 2015 19:51:31 +0000 (5 19:51 +0000)
treeaebcc28f39cb9c6196fbcbbd5a7b99ac01b28db1
parenta2d607bc7746bcc6b2cc30998570eec6d89cd6e0
Reland: Implement and test task runners in RasterWorkerPool.

This CL moves RasterWorkerPool outside render_thread_impl.h and
in its own file, implements TaskRunner and SequencedTaskRunner
on top of it and properly tests the two implementations.

BUG=
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Committed: https://crrev.com/6526c209494a5176f82b5f400fd1e66a426c840f
Cr-Commit-Position: refs/heads/master@{#341827}

Review URL: https://codereview.chromium.org/1254003003

Cr-Commit-Position: refs/heads/master@{#341946}
cc/raster/task_graph_runner.cc
cc/raster/task_graph_runner.h
content/content_renderer.gypi
content/content_tests.gypi
content/renderer/raster_worker_pool.cc [new file with mode: 0644]
content/renderer/raster_worker_pool.h [new file with mode: 0644]
content/renderer/raster_worker_pool_unittest.cc [new file with mode: 0644]
content/renderer/render_thread_impl.cc
content/renderer/render_thread_impl.h