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

Unified Diff: ash/sysui/sysui_application.cc

Issue 2055273004: Remove unused variables, ash/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/sysui/sysui_application.cc
diff --git a/ash/sysui/sysui_application.cc b/ash/sysui/sysui_application.cc
index 81b2d184605511b33d50c4c31d670ad3a95b95e4..7f22f4782733b622ee0dc5ad9afd92b87d5bd716 100644
--- a/ash/sysui/sysui_application.cc
+++ b/ash/sysui/sysui_application.cc
@@ -220,10 +220,6 @@ class AshInit {
window_manager_connection_ =
views::WindowManagerConnection::Create(connector, identity);
- display::Screen* screen = display::Screen::GetScreen();
- DCHECK(screen);
- gfx::Size size = screen->GetPrimaryDisplay().bounds().size();
-
// Uninstall the ScreenMus installed by WindowManagerConnection, so that ash
// installs and uses the ScreenAsh. This can be removed once ash learns to
// talk to mus for managing displays.
« no previous file with comments | « ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc ('k') | ash/touch/touch_transformer_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698