Index: chrome/browser/media/webrtc/desktop_media_list_base.cc |
diff --git a/chrome/browser/media/webrtc/desktop_media_list_base.cc b/chrome/browser/media/webrtc/desktop_media_list_base.cc |
index 33f560ffe87042a4a6e60becebfac69b050f4c7a..2f700d3ad31361f16c3a502c96909015bddecfde 100644 |
--- a/chrome/browser/media/webrtc/desktop_media_list_base.cc |
+++ b/chrome/browser/media/webrtc/desktop_media_list_base.cc |
@@ -137,10 +137,7 @@ void DesktopMediaListBase::ScheduleNextRefresh() { |
// static |
uint32_t DesktopMediaListBase::GetImageHash(const gfx::Image& image) { |
SkBitmap bitmap = image.AsBitmap(); |
- bitmap.lockPixels(); |
uint32_t value = |
base::Hash(reinterpret_cast<char*>(bitmap.getPixels()), bitmap.getSize()); |
- bitmap.unlockPixels(); |
- |
return value; |
} |