compositor_impl_android.cc CompositorImpl::SetRootLayer possibly broken?

9 views
Skip to first unread message

Сергей Кузнецов

unread,
Aug 30, 2016, 5:04:10 AM8/30/16
to chromi...@chromium.org
Hi all!
I think that CompositorImpl::SetRootLayer function possibly broken.
 
1) subroot_layer_->RemoveFromParent(); doesn't have effect, because is subroot_layer_ is root_window_->GetLayer() and doesn't have parent
2) Calling SetRootLayer with nullptr (it is legitimate call) crashes because root_window_->GetLayer() is not nullptr
 
Does that make sense?
Reply all
Reply to author
Forward
0 new messages