Class for allocating a chunk of memory for RenderPass
For DrawQuads and SharedQuadState, RenderPass used allocate them one by
one whenever needed. This new class helps RenderPass manages allocation
and iteration of those two types. This container allocates a chunk of
memory at one time and hands out raw pointers. It also provides iterator
and reverse iterators for going through its contents.
Unittest for ListContainer makes sure the raw pointers it hands out are
valid and iterator has same behavior as vector iterators.
Follows
398533002, and
404563005.
BUG=344962
Review URL: https://codereview.chromium.org/
400463002
Cr-Commit-Position: refs/heads/master@{#296100}