| Index: third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| index 7260c3195b99988ba14f1b1ca58faee5a4a2aad7..4aba039c993c2145dc219e5d5736bb2b7c7b819a 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| +#include "platform/graphics/GraphicsScreen.h"
|
| #include "platform/graphics/paint/CachedDisplayItem.h"
|
| #include "platform/graphics/paint/ClipPathRecorder.h"
|
| #include "platform/graphics/paint/ClipRecorder.h"
|
| @@ -23,7 +24,11 @@ public:
|
| , m_originalSlimmingPaintV2Enabled(RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { }
|
|
|
| protected:
|
| - PaintController& paintController() { return *m_paintController; }
|
| + PaintController& paintController()
|
| + {
|
| + setCurrentScreenId(ScreenDevice::sRGBTest);
|
| + return *m_paintController;
|
| + }
|
|
|
| private:
|
| void TearDown() override
|
|
|