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

Unified Diff: ash/dip_unittest.cc

Issue 12313118: Refactor: Shelf Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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
Index: ash/dip_unittest.cc
diff --git a/ash/dip_unittest.cc b/ash/dip_unittest.cc
index 2c00d71a388c44afb44adceaa18318d3201625c3..c21fb885bf95041226b4614e3106aee6bc523ee0 100644
--- a/ash/dip_unittest.cc
+++ b/ash/dip_unittest.cc
@@ -7,6 +7,7 @@
#include "ash/display/display_manager.h"
#include "ash/launcher/launcher.h"
+#include "ash/shelf/shelf_widget.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
#include "ash/wm/window_properties.h"
@@ -63,7 +64,7 @@ TEST_F(DIPTest, WorkArea) {
Launcher* launcher = Launcher::ForPrimaryDisplay();
EXPECT_EQ(
display_2x.bounds().InsetsFrom(work_area).height(),
- launcher->widget()->GetNativeView()->layer()->bounds().height());
+ launcher->shelf_widget()->GetNativeView()->layer()->bounds().height());
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698