| Index: third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| index 00833ae3a5e4036f355ae0fa3f2704984b0a1ab8..55a61e253f73fc8a58c16ac185aef25b57ce25c7 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| @@ -48,7 +48,6 @@ namespace blink {
|
|
|
| #define EXPECT_OPAQUE_PIXELS_IN_RECT(bitmap, opaqueRect) \
|
| { \
|
| - SkAutoLockPixels locker(bitmap); \
|
| for (int y = opaqueRect.Y(); y < opaqueRect.MaxY(); ++y) \
|
| for (int x = opaqueRect.X(); x < opaqueRect.MaxX(); ++x) { \
|
| int alpha = *bitmap.getAddr32(x, y) >> 24; \
|
| @@ -58,7 +57,6 @@ namespace blink {
|
|
|
| #define EXPECT_OPAQUE_PIXELS_ONLY_IN_RECT(bitmap, opaqueRect) \
|
| { \
|
| - SkAutoLockPixels locker(bitmap); \
|
| for (int y = 0; y < bitmap.height(); ++y) \
|
| for (int x = 0; x < bitmap.width(); ++x) { \
|
| int alpha = *bitmap.getAddr32(x, y) >> 24; \
|
|
|