| Index: content/browser/media/capture/cursor_renderer.cc
|
| diff --git a/content/browser/media/capture/cursor_renderer.cc b/content/browser/media/capture/cursor_renderer.cc
|
| index c92645ff0d85b7b96de881c06461d6236e5ce8f3..f59fc2549feb70f3d9cf9e10fbe9b45f4847535b 100644
|
| --- a/content/browser/media/capture/cursor_renderer.cc
|
| +++ b/content/browser/media/capture/cursor_renderer.cc
|
| @@ -146,7 +146,6 @@ void CursorRenderer::RenderOnVideoFrame(media::VideoFrame* target) const {
|
| cursor_position_in_frame_.y()),
|
| target->visible_rect());
|
|
|
| - scaled_cursor_bitmap_.lockPixels();
|
| for (int y = rect.y(); y < rect.bottom(); ++y) {
|
| int cursor_y = y - cursor_position_in_frame_.y();
|
| uint8_t* yplane = target->data(media::VideoFrame::kYPlane) +
|
| @@ -177,7 +176,6 @@ void CursorRenderer::RenderOnVideoFrame(media::VideoFrame* target) const {
|
| }
|
| }
|
| }
|
| - scaled_cursor_bitmap_.unlockPixels();
|
| }
|
|
|
| void CursorRenderer::OnMouseMoved(const gfx::Point& location,
|
|
|