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 079db6539672fe75b9fc1f035690307dec90b527..7b7729cfd27b1084020ef1fc382c5a78a2dcc9dc 100644 |
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp |
@@ -71,7 +71,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(); |