| 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 d4471a768ea4b708d4b57c096e64fd773a8c9abe..64e27a828377e03dea3cfdc4dc797bef0c1468d6 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
|
| @@ -25,6 +25,7 @@
|
| #include "platform/graphics/GraphicsContext.h"
|
|
|
| #include "platform/graphics/BitmapImage.h"
|
| +#include "platform/graphics/GraphicsScreen.h"
|
| #include "platform/graphics/Path.h"
|
| #include "platform/graphics/paint/PaintController.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -64,6 +65,8 @@ namespace blink {
|
|
|
| TEST(GraphicsContextTest, pictureRecording)
|
| {
|
| + WillPaintForDevice device(ScreenDevice::sRGBTest);
|
| +
|
| SkBitmap bitmap;
|
| bitmap.allocN32Pixels(100, 100);
|
| bitmap.eraseColor(0);
|
| @@ -93,6 +96,8 @@ TEST(GraphicsContextTest, pictureRecording)
|
|
|
| TEST(GraphicsContextTest, UnboundedDrawsAreClipped)
|
| {
|
| + WillPaintForDevice device(ScreenDevice::sRGBTest);
|
| +
|
| SkBitmap bitmap;
|
| bitmap.allocN32Pixels(400, 400);
|
| bitmap.eraseColor(0);
|
|
|