Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: content/renderer/media/pepper_to_video_track_adapter.cc

Issue 2823003002: SkBitmap and SkPixelRef no longer need lock/unlock (Closed)
Patch Set: win fix after rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/cursors/webcursor_unittest.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/pepper_to_video_track_adapter.cc
diff --git a/content/renderer/media/pepper_to_video_track_adapter.cc b/content/renderer/media/pepper_to_video_track_adapter.cc
index c1f31cf381ebed5aceca3c5b1708edf041e7c959..7893276ed39633eaf432b91e19ef84c3a50b0067 100644
--- a/content/renderer/media/pepper_to_video_track_adapter.cc
+++ b/content/renderer/media/pepper_to_video_track_adapter.cc
@@ -168,7 +168,6 @@ void PpFrameWriter::PutFrame(PPB_ImageData_Impl* image_data,
return;
}
- SkAutoLockPixels src_lock(bitmap);
const uint8_t* src_data = static_cast<uint8_t*>(bitmap.getPixels());
const int src_stride = static_cast<int>(bitmap.rowBytes());
const int width = bitmap.width();
« no previous file with comments | « content/common/cursors/webcursor_unittest.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698