Index: cc/layers/scrollbar_layer_unittest.cc |
diff --git a/cc/layers/scrollbar_layer_unittest.cc b/cc/layers/scrollbar_layer_unittest.cc |
index 68613e87e33360ad4da748168d35c9d155151e2f..b4deb9d96e31ca6e197a17bb0e1b025b49f75331 100644 |
--- a/cc/layers/scrollbar_layer_unittest.cc |
+++ b/cc/layers/scrollbar_layer_unittest.cc |
@@ -1208,10 +1208,8 @@ class ScaledScrollbarLayerTestScaledRasterization : public ScrollbarLayerTest { |
DCHECK(bitmap); |
- AutoLockUIResourceBitmap locked_bitmap(*bitmap); |
- |
const SkColor* pixels = |
- reinterpret_cast<const SkColor*>(locked_bitmap.GetPixels()); |
+ reinterpret_cast<const SkColor*>(bitmap->GetPixels()); |
SkColor color = argb_to_skia( |
scrollbar_layer->fake_scrollbar()->paint_fill_color()); |
int width = bitmap->GetSize().width(); |