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

Unified Diff: chrome/browser/ui/libgtkui/skia_utils_gtk.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
Index: chrome/browser/ui/libgtkui/skia_utils_gtk.cc
diff --git a/chrome/browser/ui/libgtkui/skia_utils_gtk.cc b/chrome/browser/ui/libgtkui/skia_utils_gtk.cc
index f4a2dd96a0fb529f9eddb03fffc1bb71daa81922..150a41dfa58cdea564c5eba08c10318c573c5686 100644
--- a/chrome/browser/ui/libgtkui/skia_utils_gtk.cc
+++ b/chrome/browser/ui/libgtkui/skia_utils_gtk.cc
@@ -88,8 +88,6 @@ GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap) {
if (bitmap.isNull())
return nullptr;
- SkAutoLockPixels lock_pixels(bitmap);
-
int width = bitmap.width();
int height = bitmap.height();

Powered by Google App Engine
This is Rietveld 408576698