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()); |