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

Unified Diff: chrome/browser/ui/toolbar/back_forward_menu_model_unittest.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/libgtkui/skia_utils_gtk.cc ('k') | chrome/browser/ui/views/toolbar/app_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
index 4ff581cf054632996e98885747a5d86470503f65..bc73e8824a1f3ac45dd9ac463db5f66771103a18 100644
--- a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
@@ -551,9 +551,6 @@ TEST_F(BackFwdMenuModelTest, FaviconLoadTest) {
SkBitmap default_icon_bitmap = *default_icon.ToSkBitmap();
SkBitmap valid_icon_bitmap = *valid_icon.ToSkBitmap();
- SkAutoLockPixels a(new_icon_bitmap);
- SkAutoLockPixels b(valid_icon_bitmap);
- SkAutoLockPixels c(default_icon_bitmap);
// Verify we did not get the default favicon.
EXPECT_NE(0, memcmp(default_icon_bitmap.getPixels(),
valid_icon_bitmap.getPixels(),
« no previous file with comments | « chrome/browser/ui/libgtkui/skia_utils_gtk.cc ('k') | chrome/browser/ui/views/toolbar/app_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698