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

Unified Diff: ash/system/user/tray_user.cc

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « ash/system/user/tray_user.h ('k') | ash/system/user/tray_user_separator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user.cc
diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc
index adff775effd103e4e3e5fdf7401cb832dc4125d2..e8ea56e7680dc96d20b5de6a3213df683ce698e7 100644
--- a/ash/system/user/tray_user.cc
+++ b/ash/system/user/tray_user.cc
@@ -134,8 +134,6 @@ void SwitchUser(ash::MultiProfileIndex user_index) {
} // namespace
namespace ash {
-namespace internal {
-
namespace tray {
// A custom image view with rounded edges.
@@ -1356,14 +1354,12 @@ MultiProfileIndex TrayUser::GetTrayIndex() {
}
void TrayUser::UpdateLayoutOfItem() {
- internal::RootWindowController* controller =
- internal::GetRootWindowController(
- system_tray()->GetWidget()->GetNativeWindow()->GetRootWindow());
+ RootWindowController* controller = GetRootWindowController(
+ system_tray()->GetWidget()->GetNativeWindow()->GetRootWindow());
if (controller && controller->shelf()) {
UpdateAfterShelfAlignmentChange(
controller->GetShelfLayoutManager()->GetAlignment());
}
}
-} // namespace internal
} // namespace ash
« no previous file with comments | « ash/system/user/tray_user.h ('k') | ash/system/user/tray_user_separator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698