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

Unified Diff: services/ui/display/platform_screen.cc

Issue 2549503002: Rename PlatformScreen to ScreenManager. (Closed)
Patch Set: Rebase. Created 4 years 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 | « services/ui/display/platform_screen.h ('k') | services/ui/display/platform_screen_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/platform_screen.cc
diff --git a/services/ui/display/platform_screen.cc b/services/ui/display/platform_screen.cc
deleted file mode 100644
index 153331d40fee8b6918b71f7a0cd84d7ae5011594..0000000000000000000000000000000000000000
--- a/services/ui/display/platform_screen.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "services/ui/display/platform_screen.h"
-
-#include "base/logging.h"
-
-namespace display {
-
-// static
-PlatformScreen* PlatformScreen::instance_ = nullptr;
-
-PlatformScreen::PlatformScreen() {
- DCHECK(!instance_);
- instance_ = this;
-}
-
-PlatformScreen::~PlatformScreen() {
- DCHECK_EQ(instance_, this);
- instance_ = nullptr;
-}
-
-// static
-PlatformScreen* PlatformScreen::GetInstance() {
- DCHECK(instance_);
- return instance_;
-}
-
-} // namespace display
« no previous file with comments | « services/ui/display/platform_screen.h ('k') | services/ui/display/platform_screen_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698