Index: components/favicon_base/select_favicon_frames_unittest.cc |
diff --git a/components/favicon_base/select_favicon_frames_unittest.cc b/components/favicon_base/select_favicon_frames_unittest.cc |
index 4fe404459c1840dee3eb171cc4501030c7c09131..f2a6f542754d8e56affaec707a01bd344f98c7b7 100644 |
--- a/components/favicon_base/select_favicon_frames_unittest.cc |
+++ b/components/favicon_base/select_favicon_frames_unittest.cc |
@@ -59,9 +59,7 @@ SkColor GetColor(const gfx::ImageSkia& image, float scale, |
x = bitmap.width() / 2; |
if (y == -1) |
y = bitmap.width() / 2; |
- bitmap.lockPixels(); |
SkColor color = bitmap.getColor(x, y); |
- bitmap.unlockPixels(); |
return color; |
} |