summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/root_window.cc')
-rw-r--r--ui/aura/root_window.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index ee59f1b..53b8829 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -132,8 +132,8 @@ class SimpleRootWindowTransformer : public RootWindowTransformer {
RootWindow::CreateParams::CreateParams(const gfx::Rect& a_initial_bounds)
: initial_bounds(a_initial_bounds),
- use_software_renderer(false),
- host(NULL) {}
+ host(NULL) {
+}
////////////////////////////////////////////////////////////////////////////////
// RootWindow, public:
@@ -153,8 +153,7 @@ RootWindow::RootWindow(const CreateParams& params)
set_dispatcher(this);
SetName("RootWindow");
- compositor_.reset(new ui::Compositor(params.use_software_renderer,
- host_->GetAcceleratedWidget()));
+ compositor_.reset(new ui::Compositor(host_->GetAcceleratedWidget()));
DCHECK(compositor_.get());
prop_.reset(new ui::ViewProp(host_->GetAcceleratedWidget(),