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

Unified Diff: components/exo/shell_surface_unittest.cc

Issue 2889523003: Add kApplicationIdKey for ShellSurface::GetApplicationId and SetApplicationId (Closed)
Patch Set: Fix shell_surface_unittest. Created 3 years, 7 months 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') | no next file » | 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 ab7cc8176d8dfadda17593da6e36723b0d08267f..338210ae8eab7dea573025f24559d3e3f45a60bb 100644
--- a/components/exo/shell_surface_unittest.cc
+++ b/components/exo/shell_surface_unittest.cc
@@ -250,9 +250,9 @@ TEST_F(ShellSurfaceTest, SetApplicationId) {
surface->Attach(buffer.get());
surface->Commit();
aura::Window* window = shell_surface->GetWidget()->GetNativeWindow();
- EXPECT_EQ("pre-widget-id", ShellSurface::GetApplicationId(window));
+ EXPECT_EQ("pre-widget-id", *ShellSurface::GetApplicationId(window));
shell_surface->SetApplicationId("test");
- EXPECT_EQ("test", ShellSurface::GetApplicationId(window));
+ EXPECT_EQ("test", *ShellSurface::GetApplicationId(window));
}
TEST_F(ShellSurfaceTest, Move) {
« no previous file with comments | « components/exo/shell_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698