Index: services/ui/public/interfaces/cursor/cursor_struct_traits_unittest.cc |
diff --git a/services/ui/public/interfaces/cursor/cursor_struct_traits_unittest.cc b/services/ui/public/interfaces/cursor/cursor_struct_traits_unittest.cc |
index 179c6ca5d81f3480c45b7a99f20fef5ea79a12f6..fa0d041782398e210ca32f6dc815a5bb18722afe 100644 |
--- a/services/ui/public/interfaces/cursor/cursor_struct_traits_unittest.cc |
+++ b/services/ui/public/interfaces/cursor/cursor_struct_traits_unittest.cc |
@@ -89,17 +89,12 @@ TEST_F(CursorStructTraitsTest, TestBitmapCursor) { |
ASSERT_EQ(input.cursor_frames()[f].height(), |
output.cursor_frames()[f].height()); |
- input.cursor_frames()[f].lockPixels(); |
- output.cursor_frames()[f].lockPixels(); |
for (int x = 0; x < input.cursor_frames()[f].width(); ++x) { |
for (int y = 0; y < input.cursor_frames()[f].height(); ++y) { |
EXPECT_EQ(input.cursor_frames()[f].getColor(x, y), |
output.cursor_frames()[f].getColor(x, y)); |
} |
} |
- |
- output.cursor_frames()[f].unlockPixels(); |
- input.cursor_frames()[f].unlockPixels(); |
} |
} |