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

Unified Diff: printing/emf_win.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: printing/emf_win.cc
diff --git a/printing/emf_win.cc b/printing/emf_win.cc
index 1bcc75d946f9b8d55e8df1639ac13f3779cf78a9..9bd3e1eed20e36a624293e13cb43333d3b326705 100644
--- a/printing/emf_win.cc
+++ b/printing/emf_win.cc
@@ -382,7 +382,6 @@ bool Emf::Record::SafePlayback(Emf::EnumerationContext* context) const {
} else {
DCHECK(bitmap.get());
if (bitmap.get()) {
- SkAutoLockPixels lock(*bitmap.get());
DCHECK_EQ(bitmap->colorType(), kN32_SkColorType);
const uint32_t* pixels =
static_cast<const uint32_t*>(bitmap->getPixels());
« no previous file with comments | « media/renderers/skcanvas_video_renderer_unittest.cc ('k') | remoting/host/chromeos/skia_bitmap_desktop_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698