restore old api for android to unblock roll
Bug: skia: Change-Id: Ib115666503784b928f44f04878ed06a5aa844e6e NOTRY=True Reviewed-on: https://skia-review.googlesource.com/11420 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>
This commit is contained in:
parent
0c9d0b4e03
commit
4f783f8ada
@ -291,6 +291,11 @@ public:
|
||||
this->allocPixels(info);
|
||||
}
|
||||
|
||||
// TEMPORARY -- remove after updating Android BitmapTests.cpp:35
|
||||
void allocPixels(const SkImageInfo& info, std::nullptr_t, SkColorTable* ctable) {
|
||||
this->allocPixels(info, sk_ref_sp(ctable));
|
||||
}
|
||||
|
||||
/**
|
||||
* Install a pixelref that wraps the specified pixels and rowBytes, and
|
||||
* optional ReleaseProc and context. When the pixels are no longer
|
||||
|
Loading…
Reference in New Issue
Block a user