Index: extensions/browser/api/web_contents_capture_client.cc |
diff --git a/extensions/browser/api/web_contents_capture_client.cc b/extensions/browser/api/web_contents_capture_client.cc |
index 78ee2851a3f6c264e8fdb13388132b1e1689432a..98eb66791262d4f71bc595425398885cfe354ae3 100644 |
--- a/extensions/browser/api/web_contents_capture_client.cc |
+++ b/extensions/browser/api/web_contents_capture_client.cc |
@@ -91,7 +91,6 @@ bool WebContentsCaptureClient::EncodeBitmap(const SkBitmap& bitmap, |
std::string* base64_result) { |
DCHECK(base64_result); |
std::vector<unsigned char> data; |
- SkAutoLockPixels screen_capture_lock(bitmap); |
const bool should_discard_alpha = !ClientAllowsTransparency(); |
bool encoded = false; |
std::string mime_type; |