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:
parent
daefa5b340
commit
ee36952c60
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user