summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget_views.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/native_widget_views.cc')
-rw-r--r--views/widget/native_widget_views.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/widget/native_widget_views.cc b/views/widget/native_widget_views.cc
index da4d898..44f2d9d 100644
--- a/views/widget/native_widget_views.cc
+++ b/views/widget/native_widget_views.cc
@@ -111,7 +111,10 @@ void NativeWidgetViews::InitNativeWidget(const Widget::InitParams& params) {
view_ = new internal::NativeWidgetView(this);
view_->SetBoundsRect(params.bounds);
+#if !defined(USE_AURA)
+ // TODO(beng): re-enable this once we have a consolidated layer tree.
view_->SetPaintToLayer(true);
+#endif
// With the default NATIVE_WIDGET_OWNS_WIDGET ownership, the
// deletion of either of the NativeWidgetViews or NativeWidgetView