Index: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
index 67b1e5f8539825b2258a3d439ce5a11d2b387c46..30d0cb993c45858ac9c0a1d2efdbf3ae98acfbbc 100644 |
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp |
@@ -6,7 +6,6 @@ |
#include "cc/layers/content_layer_client.h" |
#include "cc/layers/layer.h" |
-#include "cc/layers/layer_settings.h" |
#include "cc/layers/picture_layer.h" |
#include "cc/playback/display_item_list.h" |
#include "cc/playback/display_item_list_settings.h" |
@@ -68,7 +67,7 @@ PaintArtifactCompositor::PaintArtifactCompositor() |
{ |
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
return; |
- m_rootLayer = cc::Layer::Create(cc::LayerSettings()); |
+ m_rootLayer = cc::Layer::Create(); |
m_webLayer = adoptPtr(Platform::current()->compositorSupport()->createLayerFromCCLayer(m_rootLayer.get())); |
} |
@@ -183,7 +182,7 @@ scoped_refptr<cc::Layer> createClipLayer(const ClipPaintPropertyNode* node) |
} |
transform.Translate(offset.x(), offset.y()); |
- scoped_refptr<cc::Layer> layer = cc::Layer::Create(cc::LayerSettings()); |
+ scoped_refptr<cc::Layer> layer = cc::Layer::Create(); |
layer->SetIsDrawable(false); |
layer->SetMasksToBounds(true); |
layer->SetPosition(gfx::PointF()); |
@@ -301,7 +300,7 @@ scoped_refptr<cc::Layer> PaintArtifactCompositor::layerForPaintChunk(const Paint |
} |
transform.Translate(offset.x(), offset.y()); |
- scoped_refptr<cc::PictureLayer> layer = cc::PictureLayer::Create(cc::LayerSettings(), contentLayerClient.get()); |
+ scoped_refptr<cc::PictureLayer> layer = cc::PictureLayer::Create(contentLayerClient.get()); |
layer->SetBounds(combinedBounds.size()); |
layer->SetTransform(transform); |
layer->SetIsDrawable(true); |