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

Unified Diff: chrome/browser/media/webrtc/window_icon_util_mac.mm

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
Index: chrome/browser/media/webrtc/window_icon_util_mac.mm
diff --git a/chrome/browser/media/webrtc/window_icon_util_mac.mm b/chrome/browser/media/webrtc/window_icon_util_mac.mm
index 4235b583cae890e27defd16e118b22e0ad4b51a5..690c875189faf2e302d04c509a549cc68461c46a 100644
--- a/chrome/browser/media/webrtc/window_icon_util_mac.mm
+++ b/chrome/browser/media/webrtc/window_icon_util_mac.mm
@@ -53,7 +53,6 @@ gfx::ImageSkia GetWindowIcon(content::DesktopMediaID id) {
SkBitmap result;
result.allocN32Pixels(width, height, false);
- result.lockPixels();
uint8_t* pixels_data = reinterpret_cast<uint8_t*>(result.getPixels());
« no previous file with comments | « chrome/browser/media/webrtc/tab_desktop_media_list_unittest.cc ('k') | chrome/browser/media/webrtc/window_icon_util_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698