diff options
author | ericrk <ericrk@chromium.org> | 2015-08-19 11:20:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-19 18:21:02 +0000 |
commit | 67dd0175cbb138c2846e2f36262f00c8be0ac5dd (patch) | |
tree | f54a16e8bc99ad60db03fb7c724bdc49fac30281 /base/base.gypi | |
parent | 64dff6deeae1788cdc60b5c02e82c527385dfe7a (diff) | |
download | chromium_src-67dd0175cbb138c2846e2f36262f00c8be0ac5dd.zip chromium_src-67dd0175cbb138c2846e2f36262f00c8be0ac5dd.tar.gz chromium_src-67dd0175cbb138c2846e2f36262f00c8be0ac5dd.tar.bz2 |
Currently ResourcePool does not maintain ownership of its resources
after handing them out to consumers like TileManager. In order to
improve memory handling (and ensure proper use of the ResourcePool,
which assumes that resources will be returned to it), this causes the ResourcePool to maintain ownership of its resources, only handing out unowned Resource*.
If all resources are not returned to the pool before destruction, we will DCHECK. This was always the case, but is now more explicit.
BUG=
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1269133002
Cr-Commit-Position: refs/heads/master@{#344276}
Diffstat (limited to 'base/base.gypi')
0 files changed, 0 insertions, 0 deletions