cc: Remove LayerTreeSettings::raster_enabled.
commitbbc14878c2212664f7571a97d43da7b68d6d9b3d
authordanakj <danakj@chromium.org>
Mon, 15 Jun 2015 22:57:05 +0000 (15 15:57 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Jun 2015 22:57:31 +0000 (15 22:57 +0000)
tree7d3a9490b9117b4878837aac29fc44658112cf02
parent0fbd9a08a2e4ea452aae2d457d42414aa7d24a5d
cc: Remove LayerTreeSettings::raster_enabled.

This was only used by tests to test using CC without a message
loop, however this isn't a mode that CC has to perform in
anymore now that WebView is using a cc::Display instead of a
full compositor as its parent compositor.

The setting caused the TileManager to be null sometimes, when it
wouldn't otherwise. Convert some of the if (tile_manager_) branches
to if (settings_.impl_side_painting) instead.

R=enne, vmpstr
BUG=413479
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Commit-Position: refs/heads/master@{#334485}
cc/BUILD.gn
cc/cc_tests.gyp
cc/layers/picture_layer.cc
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl.h
cc/trees/layer_tree_host_unittest_no_message_loop.cc [deleted file]
cc/trees/layer_tree_settings.cc
cc/trees/layer_tree_settings.h