cc: Make picture pile base thread safe.
commite1601613e8f4b8cbe451fb37d99409b1da19b74a
authorvmpstr <vmpstr@chromium.org>
Mon, 27 Oct 2014 20:36:52 +0000 (27 13:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Oct 2014 20:37:11 +0000 (27 20:37 +0000)
tree4015abc77a4c04519b5092d3c4333e5008a8594a
parent2b6d4cba32db0500609b85ed8f9a3dc44fd8555f
cc: Make picture pile base thread safe.

This patch ensures that picture pile base is thread safe, since it is
not guaranteed that the ref is always adjusted on the same thread. In
particular, the worker thread (which refs picture pile on the cc thread)
might deref it (and delete it) on the worker thread.

R=reveman

Review URL: https://codereview.chromium.org/683543002

Cr-Commit-Position: refs/heads/master@{#301434}
cc/resources/picture_pile_base.h