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

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 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();

Powered by Google App Engine
This is Rietveld 408576698