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

Unified Diff: chrome/browser/media/webrtc/window_icon_util_x11.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
Index: chrome/browser/media/webrtc/window_icon_util_x11.cc
diff --git a/chrome/browser/media/webrtc/window_icon_util_x11.cc b/chrome/browser/media/webrtc/window_icon_util_x11.cc
index c316c948b405cddbd5e9ae5ff5755ec20900f5b1..a69c365d7b770873d5e13a85778e2b7f180ce2a9 100644
--- a/chrome/browser/media/webrtc/window_icon_util_x11.cc
+++ b/chrome/browser/media/webrtc/window_icon_util_x11.cc
@@ -59,7 +59,6 @@ gfx::ImageSkia GetWindowIcon(content::DesktopMediaID id) {
SkBitmap result;
SkImageInfo info = SkImageInfo::MakeN32(width, height, kUnpremul_SkAlphaType);
result.allocPixels(info);
- result.lockPixels();
uint32_t* pixels_data = reinterpret_cast<uint32_t*>(result.getPixels());
« no previous file with comments | « chrome/browser/media/webrtc/window_icon_util_mac.mm ('k') | chrome/browser/plugins/plugin_power_saver_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698