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

Unified Diff: chrome/browser/plugins/plugin_power_saver_browsertest.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/plugins/plugin_power_saver_browsertest.cc
diff --git a/chrome/browser/plugins/plugin_power_saver_browsertest.cc b/chrome/browser/plugins/plugin_power_saver_browsertest.cc
index 5f98efcb66db10c686c9e4ffb8de92ffe5bae40a..61e5130755f31427329856bee6854c3b106f35d2 100644
--- a/chrome/browser/plugins/plugin_power_saver_browsertest.cc
+++ b/chrome/browser/plugins/plugin_power_saver_browsertest.cc
@@ -184,7 +184,6 @@ bool SnapshotMatches(const base::FilePath& reference, const SkBitmap& bitmap) {
return false;
int32_t* ref_pixels = reinterpret_cast<int32_t*>(decoded.data());
- SkAutoLockPixels lock_image(bitmap);
int32_t* pixels = static_cast<int32_t*>(bitmap.getPixels());
bool success = true;
« no previous file with comments | « chrome/browser/media/webrtc/window_icon_util_x11.cc ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698