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

Unified Diff: ui/gfx/compositor/compositor.cc

Issue 10023004: Remove check for WEBLAYERTREEVIEW_HAS_INITIALIZE, this has rolled in to chromium for weeks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698