Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
index de81bab9ae9e2ed7f3da423d2a5e9e3bb3e64ca6..a971f8a85bd911d9c770c78f5c8a0c77cb547d18 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
@@ -1244,8 +1244,6 @@ void GraphicsLayer::CheckPaintUnderInvalidations( |
canvas.drawPicture(std::move(new_record)); |
} |
- old_bitmap.lockPixels(); |
- new_bitmap.lockPixels(); |
int mismatching_pixels = 0; |
static const int kMaxMismatchesToReport = 50; |
for (int bitmap_y = 0; bitmap_y < rect.Height(); ++bitmap_y) { |
@@ -1277,8 +1275,6 @@ void GraphicsLayer::CheckPaintUnderInvalidations( |
} |
} |
} |
- old_bitmap.unlockPixels(); |
- new_bitmap.unlockPixels(); |
// Visualize under-invalidations by overlaying the new bitmap (containing red |
// pixels indicating under-invalidations, and transparent pixels otherwise) |