| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index 8a801227fc5e747ade12c78501ccee05e65f6a33..42c5d329f5468042daab32c27a1ff15c5329b456 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -211,11 +211,7 @@ CompositedLayerMapping::~CompositedLayerMapping()
|
|
|
| PassOwnPtr<GraphicsLayer> CompositedLayerMapping::createGraphicsLayer(CompositingReasons reasons, SquashingDisallowedReasons squashingDisallowedReasons)
|
| {
|
| - GraphicsLayerFactory* graphicsLayerFactory = nullptr;
|
| - if (Page* page = layoutObject()->frame()->page())
|
| - graphicsLayerFactory = page->chromeClient().graphicsLayerFactory();
|
| -
|
| - OwnPtr<GraphicsLayer> graphicsLayer = GraphicsLayer::create(graphicsLayerFactory, this);
|
| + OwnPtr<GraphicsLayer> graphicsLayer = GraphicsLayer::create(this);
|
|
|
| graphicsLayer->setCompositingReasons(reasons);
|
| graphicsLayer->setSquashingDisallowedReasons(squashingDisallowedReasons);
|
|
|