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

Unified Diff: chrome/browser/web_applications/web_app_win.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/ui/views/toolbar/app_menu.cc ('k') | chrome/renderer/chrome_render_frame_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_applications/web_app_win.cc
diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc
index 98137b214ec391cda6e6def1159f950627dcb757..fe26bca227a8c8a88764e1473602c39098bd93f7 100644
--- a/chrome/browser/web_applications/web_app_win.cc
+++ b/chrome/browser/web_applications/web_app_win.cc
@@ -53,7 +53,6 @@ void GetImageCheckSum(const gfx::ImageFamily& image, base::MD5Digest* digest) {
++it) {
SkBitmap bitmap = it->AsBitmap();
- SkAutoLockPixels image_lock(bitmap);
base::StringPiece image_data(
reinterpret_cast<const char*>(bitmap.getPixels()), bitmap.getSize());
base::MD5Update(&md5_context, image_data);
« no previous file with comments | « chrome/browser/ui/views/toolbar/app_menu.cc ('k') | chrome/renderer/chrome_render_frame_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698