Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: components/exo/shell_surface_unittest.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/shell_surface.cc ('k') | components/exo/surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface_unittest.cc
diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
index 0a73554f549ae8ec8b197f1064b6ad3ca1510e4d..1ba2412c316d2ad9e7bef8fa30d56b30f17d7262 100644
--- a/components/exo/shell_surface_unittest.cc
+++ b/components/exo/shell_surface_unittest.cc
@@ -204,10 +204,11 @@ TEST_F(ShellSurfaceTest, SetApplicationId) {
std::unique_ptr<ShellSurface> shell_surface(new ShellSurface(surface.get()));
surface->Commit();
- aura::Window* window = shell_surface->GetWidget()->GetNativeWindow();
- EXPECT_EQ("", ShellSurface::GetApplicationId(window));
+ EXPECT_EQ("", ShellSurface::GetApplicationId(
+ shell_surface->GetWidget()->GetNativeWindow()));
shell_surface->SetApplicationId("test");
- EXPECT_EQ("test", ShellSurface::GetApplicationId(window));
+ EXPECT_EQ("test", ShellSurface::GetApplicationId(
+ shell_surface->GetWidget()->GetNativeWindow()));
}
TEST_F(ShellSurfaceTest, Move) {
« no previous file with comments | « components/exo/shell_surface.cc ('k') | components/exo/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698