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

Unified Diff: chrome/browser/sync/test/integration/bookmarks_helper.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/sync/test/integration/bookmarks_helper.cc
diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc
index 2bf99e1fd4b4cdaf2e7826e0d8892cee6c2f3e5f..da2ab1c139a709a3cc71509beb0699a577dbb0ad 100644
--- a/chrome/browser/sync/test/integration/bookmarks_helper.cc
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc
@@ -190,8 +190,6 @@ bool FaviconRawBitmapsMatch(const SkBitmap& bitmap_a,
<< bitmap_b.height() << ")";
return false;
}
- SkAutoLockPixels bitmap_lock_a(bitmap_a);
- SkAutoLockPixels bitmap_lock_b(bitmap_b);
void* node_pixel_addr_a = bitmap_a.getPixels();
EXPECT_TRUE(node_pixel_addr_a);
void* node_pixel_addr_b = bitmap_b.getPixels();
« no previous file with comments | « chrome/browser/plugins/plugin_power_saver_browsertest.cc ('k') | chrome/browser/themes/browser_theme_pack_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698