SkBitmap and SkPixelRef no longer need lock/unlock
https://codereview.chromium.org/2823003002
This commit is contained in:
parent
ea4a36039a
commit
ea8e113b19
5 changed files with 0 additions and 12 deletions
|
@ -89,7 +89,6 @@ void FrameSubscriber::OnFrameDelivered(const FrameCaptureCallback& callback,
|
|||
auto local_buffer = buffer.ToLocalChecked();
|
||||
|
||||
{
|
||||
SkAutoLockPixels lock(bitmap);
|
||||
auto source = static_cast<const unsigned char*>(bitmap.getPixels());
|
||||
auto target = node::Buffer::Data(local_buffer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue