Cherry-pick: CC: Cap the size of the SOON_BIN.

Cherry-pick of Chromium


BUG: 11446261

Original Description:

ALLOW_PREPAINT_ONLY is used to reduce memory usage, but
currently the SOON_BIN can still grow to an unbounded size
because we will schedule rasters for the entire SOON_BIN,
even though our paint rate is what truly determines if we
see checkerboard.

Minus raster tasks spikes seen in,
this keeps memory usage well below the limit when using

Change-Id: I0c7677a45f9afb11177ec4dbb99ef7ca4a56b5c7
1 file changed