Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp |
index 74a77c008f073020a1e0a33365e93968ca1a68dd..f10da2779f5a2e2bf7fbd701add5444cef2292f4 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp |
@@ -172,8 +172,6 @@ TEST_F(DeferredImageDecoderTest, drawIntoPaintRecord) { |
canvas_->drawPicture(record); |
EXPECT_EQ(0, decode_request_count_); |
- |
- SkAutoLockPixels auto_lock(bitmap_); |
EXPECT_EQ(SkColorSetARGB(255, 255, 255, 255), bitmap_.getColor(0, 0)); |
} |
@@ -203,8 +201,6 @@ TEST_F(DeferredImageDecoderTest, drawIntoPaintRecordProgressive) { |
PaintImage::CompletionState::DONE), |
0, 0); |
canvas_->drawPicture(recorder.finishRecordingAsPicture()); |
- |
- SkAutoLockPixels auto_lock(bitmap_); |
EXPECT_EQ(SkColorSetARGB(255, 255, 255, 255), bitmap_.getColor(0, 0)); |
} |
@@ -237,8 +233,6 @@ TEST_F(DeferredImageDecoderTest, decodeOnOtherThread) { |
record)); |
thread.reset(); |
EXPECT_EQ(0, decode_request_count_); |
- |
- SkAutoLockPixels auto_lock(bitmap_); |
EXPECT_EQ(SkColorSetARGB(255, 255, 255, 255), bitmap_.getColor(0, 0)); |
} |