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

Unified Diff: ash/frame/custom_frame_view_ash_unittest.cc

Issue 2111443002: mash: Migrate SessionStateDelegate access to WmShell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 6 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/frame/custom_frame_view_ash_unittest.cc
diff --git a/ash/frame/custom_frame_view_ash_unittest.cc b/ash/frame/custom_frame_view_ash_unittest.cc
index 13b4b4726805b41abb0b824200d3205d9b9b55bc..64dd219bf22c2056ab5d36bf948a15be0a675c43 100644
--- a/ash/frame/custom_frame_view_ash_unittest.cc
+++ b/ash/frame/custom_frame_view_ash_unittest.cc
@@ -7,6 +7,7 @@
#include <memory>
#include "ash/common/ash_layout_constants.h"
+#include "ash/common/wm_shell.h"
#include "ash/frame/caption_buttons/frame_caption_button.h"
#include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
#include "ash/shell.h"
@@ -109,8 +110,8 @@ class CustomFrameViewAshTest : public test::AshTestBase {
}
test::TestSessionStateDelegate* GetTestSessionStateDelegate() {
- return static_cast<ash::test::TestSessionStateDelegate*>(
- Shell::GetInstance()->session_state_delegate());
+ return static_cast<test::TestSessionStateDelegate*>(
+ WmShell::Get()->GetSessionStateDelegate());
}
private:

Powered by Google App Engine
This is Rietveld 408576698