Can't hurt to make this SkNoncopyable.

BUG=skia:
R=bungeman@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/510953002
This commit is contained in:
mtklein 2014-08-27 13:02:24 -07:00 committed by Commit bot
parent daefa5b340
commit ee36952c60

View File

@ -180,7 +180,7 @@ private:
// Like SkBitmap, but deep copies pixels if they're not immutable.
// Using this, we guarantee the immutability of all bitmaps we record.
class ImmutableBitmap {
class ImmutableBitmap : SkNoncopyable {
public:
explicit ImmutableBitmap(const SkBitmap& bitmap) {
if (bitmap.isImmutable()) {