| Index: ui/gfx/compositor/compositor.cc
|
| diff --git a/ui/gfx/compositor/compositor.cc b/ui/gfx/compositor/compositor.cc
|
| index 342ad7377ed02605284c03115f62280d122c697c..965d1cb3185c2cf084b7f969c17707ef95be3105 100644
|
| --- a/ui/gfx/compositor/compositor.cc
|
| +++ b/ui/gfx/compositor/compositor.cc
|
| @@ -126,11 +126,7 @@ Compositor::Compositor(CompositorDelegate* delegate,
|
| settings.perTilePainting =
|
| command_line->HasSwitch(switches::kUIEnablePerTilePainting);
|
|
|
| -#if defined(WEBLAYERTREEVIEW_HAS_INITIALIZE)
|
| host_.initialize(this, root_web_layer_, settings);
|
| -#else
|
| - host_ = WebKit::WebLayerTreeView::create(this, root_web_layer_, settings);
|
| -#endif
|
| root_web_layer_.setAnchorPoint(WebKit::WebFloatPoint(0.f, 0.f));
|
| WidgetSizeChanged(size_);
|
| }
|
|
|