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

Unified Diff: chrome/renderer/chrome_render_frame_observer.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
« no previous file with comments | « chrome/browser/web_applications/web_app_win.cc ('k') | components/display_compositor/gl_helper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_frame_observer.cc
diff --git a/chrome/renderer/chrome_render_frame_observer.cc b/chrome/renderer/chrome_render_frame_observer.cc
index 366b3941cd7b7fc5ef447aaebfdc8804fd189d2e..5fbbb79a179957dc163f7dd7879862023508470e 100644
--- a/chrome/renderer/chrome_render_frame_observer.cc
+++ b/chrome/renderer/chrome_render_frame_observer.cc
@@ -209,7 +209,6 @@ void ChromeRenderFrameObserver::RequestThumbnailForContextNode(
thumbnail.copyTo(&bitmap, kN32_SkColorType);
std::vector<uint8_t> thumbnail_data;
- SkAutoLockPixels lock(bitmap);
if (bitmap.getPixels()) {
const int kDefaultQuality = 90;
std::vector<unsigned char> data;
« no previous file with comments | « chrome/browser/web_applications/web_app_win.cc ('k') | components/display_compositor/gl_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698