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

Unified Diff: ash/launcher/launcher_unittest.cc

Issue 9692021: Revert 126256 - Show a different icon in the launcher for incognito windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « ash/launcher/launcher_types.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_unittest.cc
===================================================================
--- ash/launcher/launcher_unittest.cc (revision 126259)
+++ ash/launcher/launcher_unittest.cc (working copy)
@@ -48,8 +48,7 @@
int item_count = model->item_count();
// Add closed app.
- LauncherItem item;
- item.type = TYPE_APP;
+ LauncherItem item(TYPE_APP);
model->Add(item_count, item);
ASSERT_EQ(++button_count, test.GetButtonCount());
LauncherButton* button = test.GetButton(button_count - 1);
@@ -87,8 +86,7 @@
int item_count = model->item_count();
// Add running tab.
- LauncherItem item;
- item.type = TYPE_TABBED;
+ LauncherItem item(TYPE_TABBED);
item.status = STATUS_RUNNING;
model->Add(item_count, item);
ASSERT_EQ(++button_count, test.GetButtonCount());
« no previous file with comments | « ash/launcher/launcher_types.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698