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

Unified Diff: components/history/core/browser/history_backend_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 | « components/favicon_base/select_favicon_frames_unittest.cc ('k') | components/suggestions/image_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_backend_unittest.cc
diff --git a/components/history/core/browser/history_backend_unittest.cc b/components/history/core/browser/history_backend_unittest.cc
index 164552909095460d638c42b9cbc84526992ab192..f1b00e3619b097a9c31a35628fdabef08070c970 100644
--- a/components/history/core/browser/history_backend_unittest.cc
+++ b/components/history/core/browser/history_backend_unittest.cc
@@ -485,7 +485,6 @@ class HistoryBackendTest : public HistoryBackendTestBase {
if (!gfx::PNGCodec::Decode(bitmap_data->front(), bitmap_data->size(),
&bitmap))
return false;
- SkAutoLockPixels bitmap_lock(bitmap);
return expected_color == bitmap.getColor(0, 0);
}
« no previous file with comments | « components/favicon_base/select_favicon_frames_unittest.cc ('k') | components/suggestions/image_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698