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

Unified Diff: chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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: chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc b/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
index c1a2c663385ad5c0d4d8670073a1ee096e308e1e..85a73c17d69dd87b39f9dc666e54f3f79582e526 100644
--- a/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/first_run/first_run_ui.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/ui/webui/chromeos/first_run/first_run_ui.h"
#include "ash/shelf/wm_shelf.h"
-#include "ash/wm_shell.h"
+#include "ash/shell_port.h"
#include "base/command_line.h"
#include "base/memory/ptr_util.h"
#include "chrome/browser/browser_process.h"
@@ -64,7 +64,7 @@ void SetLocalizedStrings(base::DictionaryValue* localized_strings) {
base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kEnableFirstRunUITransitions));
ash::WmShelf* shelf =
- ash::WmShelf::ForWindow(ash::WmShell::Get()->GetPrimaryRootWindow());
+ ash::WmShelf::ForWindow(ash::ShellPort::Get()->GetPrimaryRootWindow());
std::string shelf_alignment;
switch (shelf->alignment()) {
case ash::SHELF_ALIGNMENT_BOTTOM:

Powered by Google App Engine
This is Rietveld 408576698