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

Unified Diff: ash/dip_unittest.cc

Issue 12313118: Refactor: Shelf Widget (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: formatting and moved a couple unit tests 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 1df1ec72bd9c67c78d591c690c23fb513368289f..b31bce84bbbef2e6d58ebe44909f85a10e0e179d 100644
--- a/ash/dip_unittest.cc
+++ b/ash/dip_unittest.cc
@@ -6,6 +6,7 @@
#include <vector>
#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"
@@ -59,7 +60,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