Defer allocation in cc::ContiguousContainerBase::Buffer.
This CL optimizes memory usage of cc::ContiguousContainer by deferring memory allocation in ContiguousContainerBase::Buffer until the first Allocate() call. Previously memory was allocated in the Buffer constructor, and sometimes was never written to (see the bug for more info). BUG=635142 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2277433002 Cr-Commit-Position: refs/heads/master@{#414204}
Showing
Please register or sign in to comment