DescriptionDefer 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
Committed: https://crrev.com/aa339ecad2407a5b3875dc597843b1634cec5445
Cr-Commit-Position: refs/heads/master@{#414204}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address comments #Patch Set 3 : Fix typo #
Messages
Total messages: 19 (10 generated)
|