Index: ui/gfx/android/java_bitmap.cc |
diff --git a/ui/gfx/android/java_bitmap.cc b/ui/gfx/android/java_bitmap.cc |
index 82f1bca46ecf60de9f131e2f266af3335743840d..df98913bbafe58670c65397ba37a433f94d6234b 100644 |
--- a/ui/gfx/android/java_bitmap.cc |
+++ b/ui/gfx/android/java_bitmap.cc |
@@ -74,7 +74,6 @@ ScopedJavaLocalRef<jobject> ConvertToJavaBitmap(const SkBitmap* skbitmap) { |
(color_type == kN32_SkColorType)); |
ScopedJavaLocalRef<jobject> jbitmap = CreateJavaBitmap( |
skbitmap->width(), skbitmap->height(), color_type); |
- SkAutoLockPixels src_lock(*skbitmap); |
JavaBitmap dst_lock(jbitmap); |
void* src_pixels = skbitmap->getPixels(); |
void* dst_pixels = dst_lock.pixels(); |