Index: athena/home/home_card_impl.cc |
diff --git a/athena/home/home_card_impl.cc b/athena/home/home_card_impl.cc |
index 7b73bc241d21429f7f376ccfdea34e0617159554..a82234b6a62cd840a1de84b1d91e77d9a854c893 100644 |
--- a/athena/home/home_card_impl.cc |
+++ b/athena/home/home_card_impl.cc |
@@ -8,6 +8,7 @@ |
#include <limits> |
#include "athena/common/container_priorities.h" |
+#include "athena/env/public/athena_env.h" |
#include "athena/home/app_list_view_delegate.h" |
#include "athena/home/athena_start_page_view.h" |
#include "athena/home/minimized_home.h" |
@@ -526,7 +527,7 @@ void HomeCardImpl::Init() { |
int work_area_bottom_inset = |
GetBoundsForState(GetNativeWindow()->bounds(), |
HomeCard::VISIBLE_MINIMIZED).height(); |
- ScreenManager::Get()->SetWorkAreaInsets( |
+ AthenaEnv::Get()->SetDisplayWorkAreaInsets( |
gfx::Insets(0, 0, work_area_bottom_inset, 0)); |
} |