Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp

Issue 2342103002: Refactor the way PaintArtifactCompositor is attached and used. (Closed)
Patch Set: none Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698