Index: ui/compositor/layer_unittest.cc |
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc |
index 0783ff05ba7638b7d8d2c56af285a0dfeb53479b..f5eb9d27a68423415a70fc6f07a959b33d96aa0f 100644 |
--- a/ui/compositor/layer_unittest.cc |
+++ b/ui/compositor/layer_unittest.cc |
@@ -1183,7 +1183,6 @@ TEST_F(LayerWithRealCompositorTest, DrawPixels) { |
ReadPixels(&bitmap, gfx::Rect(viewport_size)); |
ASSERT_FALSE(bitmap.empty()); |
- SkAutoLockPixels lock(bitmap); |
for (int x = 0; x < viewport_size.width(); x++) { |
for (int y = 0; y < viewport_size.height(); y++) { |
SkColor actual_color = bitmap.getColor(x, y); |
@@ -1221,7 +1220,6 @@ TEST_F(LayerWithRealCompositorTest, DrawAlphaBlendedPixels) { |
ReadPixels(&bitmap, gfx::Rect(viewport_size)); |
ASSERT_FALSE(bitmap.empty()); |
- SkAutoLockPixels lock(bitmap); |
for (int x = 0; x < test_size; x++) { |
for (int y = 0; y < test_size; y++) { |
SkColor actual_color = bitmap.getColor(x, y); |
@@ -1262,7 +1260,6 @@ TEST_F(LayerWithRealCompositorTest, DrawAlphaThresholdFilterPixels) { |
ReadPixels(&bitmap, gfx::Rect(viewport_size)); |
ASSERT_FALSE(bitmap.empty()); |
- SkAutoLockPixels lock(bitmap); |
for (int x = 0; x < test_size; x++) { |
for (int y = 0; y < test_size; y++) { |
SkColor actual_color = bitmap.getColor(x, y); |