Index: ui/gfx/color_utils.cc |
diff --git a/ui/gfx/color_utils.cc b/ui/gfx/color_utils.cc |
index 95dea0936c0fc4d35494ef7ed8e450b7873c013f..257990d9680eafee515799cb18999e4887e422e2 100644 |
--- a/ui/gfx/color_utils.cc |
+++ b/ui/gfx/color_utils.cc |
@@ -236,8 +236,6 @@ SkColor HSLShift(SkColor color, const HSL& shift) { |
void BuildLumaHistogram(const SkBitmap& bitmap, int histogram[256]) { |
DCHECK_EQ(kN32_SkColorType, bitmap.colorType()); |
- SkAutoLockPixels bitmap_lock(bitmap); |
- |
int pixel_width = bitmap.width(); |
int pixel_height = bitmap.height(); |
for (int y = 0; y < pixel_height; ++y) { |