Enforce thread-safety of bitmaps in pictures via the type.
authormtklein <mtklein@chromium.org>
Thu, 11 Dec 2014 20:43:04 +0000 (12:43 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Dec 2014 20:43:04 +0000 (12:43 -0800)
commitf55c314bfa6db980941f8d0ab485beb2e08589ab
tree741d0ab97bd554965db907a269b2727a32bd3959
parent1a4900e8be6086a824488dc98d4822e440815657
Enforce thread-safety of bitmaps in pictures via the type.

No runtime difference here, but it makes it impossible to forget to make
a shallow copy; you can't get at the full bitmap without it.

NOTREECHECKS=true

BUG=skia:

Review URL: https://codereview.chromium.org/799603002
src/core/SkRecordDraw.cpp
src/core/SkRecords.h