Index: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp |
index 74c1744a3d7202dbc3268e86a1f36330b83959f0..2e1820cb5cf6ace74e518487d0b50163d27c006a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp |
@@ -70,7 +70,7 @@ protected: |
RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(true); |
// Delay constructing the compositor until after the feature is set. |
- m_paintArtifactCompositor = wrapUnique(new PaintArtifactCompositor); |
+ m_paintArtifactCompositor = PaintArtifactCompositor::create(); |
m_paintArtifactCompositor->enableExtraDataForTesting(); |
cc::LayerTreeSettings settings = WebLayerTreeViewImplForTesting::defaultLayerTreeSettings(); |