Clean the usage of QuadList (Const)Iterator
commit7eb7ee662ee27c33ac98e29b35783a33090347c3
authorweiliangc <weiliangc@chromium.org>
Tue, 7 Oct 2014 00:04:40 +0000 (6 17:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Oct 2014 00:05:01 +0000 (7 00:05 +0000)
tree5f259605f8796095f1dbe66b1b2e4ed01a8b6d90
parent18cd46f23e277773ffa3b0ef2715d849999d76c7
Clean the usage of QuadList (Const)Iterator

Use C++11 feature such as auto and range based for loop to replace
current usage of QuadList Iterators.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#298311}
21 files changed:
cc/layers/delegated_renderer_layer_impl.cc
cc/layers/nine_patch_layer_impl_unittest.cc
cc/layers/tiled_layer_impl_unittest.cc
cc/output/delegating_renderer.cc
cc/output/gl_renderer.cc
cc/output/overlay_strategy_single_on_top.cc
cc/output/overlay_unittest.cc
cc/quads/list_container.cc
cc/quads/list_container.h
cc/quads/render_pass_unittest.cc
cc/surfaces/surface_aggregator.cc
cc/surfaces/surface_aggregator_test_helpers.cc
cc/surfaces/surface_aggregator_unittest.cc
cc/test/fake_delegated_renderer_layer_impl.cc
cc/test/layer_test_common.cc
cc/trees/layer_tree_host_impl.cc
cc/trees/layer_tree_host_impl_unittest.cc
cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc
content/common/cc_messages_unittest.cc
mojo/services/public/cpp/surfaces/lib/surfaces_type_converters.cc
mojo/services/public/cpp/surfaces/tests/surface_unittest.cc