| Index: ui/views/controls/native/native_view_host_aura_unittest.cc
|
| diff --git a/ui/views/controls/native/native_view_host_aura_unittest.cc b/ui/views/controls/native/native_view_host_aura_unittest.cc
|
| index dbc34713528cfff784ee8046f62f8d4307d8f795..fc0bb8cc866628b3d2d4676f1c6c861fa7080964 100644
|
| --- a/ui/views/controls/native/native_view_host_aura_unittest.cc
|
| +++ b/ui/views/controls/native/native_view_host_aura_unittest.cc
|
| @@ -257,15 +257,13 @@ TEST_F(NativeViewHostAuraTest, InstallClip) {
|
| TEST_F(NativeViewHostAuraTest, ParentAfterDetach) {
|
| CreateHost();
|
| aura::Window* child_win = child()->GetNativeView();
|
| - aura::Window* root_window = child_win->GetRootWindow();
|
| - aura::WindowTreeHost* child_win_tree_host = child_win->GetHost();
|
|
|
| NativeViewHostWindowObserver test_observer;
|
| child_win->AddObserver(&test_observer);
|
|
|
| host()->Detach();
|
| - EXPECT_EQ(root_window, child_win->GetRootWindow());
|
| - EXPECT_EQ(child_win_tree_host, child_win->GetHost());
|
| + EXPECT_EQ(nullptr, child_win->GetRootWindow());
|
| + EXPECT_EQ(nullptr, child_win->GetHost());
|
|
|
| DestroyHost();
|
|
|
|
|