| Index: components/exo/shell_surface_unittest.cc
|
| diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
|
| index 1ba2412c316d2ad9e7bef8fa30d56b30f17d7262..af169116b8ea359c0151c7c29a45812e4c6c6c92 100644
|
| --- a/components/exo/shell_surface_unittest.cc
|
| +++ b/components/exo/shell_surface_unittest.cc
|
| @@ -204,11 +204,10 @@ TEST_F(ShellSurfaceTest, SetApplicationId) {
|
| std::unique_ptr<ShellSurface> shell_surface(new ShellSurface(surface.get()));
|
|
|
| surface->Commit();
|
| - EXPECT_EQ("", ShellSurface::GetApplicationId(
|
| - shell_surface->GetWidget()->GetNativeWindow()));
|
| - shell_surface->SetApplicationId("test");
|
| - EXPECT_EQ("test", ShellSurface::GetApplicationId(
|
| - shell_surface->GetWidget()->GetNativeWindow()));
|
| + aura::Window* window = shell_surface->GetWidget()->GetNativeWindow();
|
| + EXPECT_EQ("", ShellSurface::GetApplicationId(window));
|
| + ShellSurface::SetApplicationId(window, "test");
|
| + EXPECT_EQ("test", ShellSurface::GetApplicationId(window));
|
| }
|
|
|
| TEST_F(ShellSurfaceTest, Move) {
|
|
|