Index: services/ui/display/screen_manager.cc |
diff --git a/services/ui/display/platform_screen.cc b/services/ui/display/screen_manager.cc |
similarity index 64% |
rename from services/ui/display/platform_screen.cc |
rename to services/ui/display/screen_manager.cc |
index 153331d40fee8b6918b71f7a0cd84d7ae5011594..9fb4746187f59299daaf6364b9fff5dc445802ca 100644 |
--- a/services/ui/display/platform_screen.cc |
+++ b/services/ui/display/screen_manager.cc |
@@ -2,27 +2,27 @@ |
// 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 "services/ui/display/screen_manager.h" |
#include "base/logging.h" |
namespace display { |
// static |
-PlatformScreen* PlatformScreen::instance_ = nullptr; |
+ScreenManager* ScreenManager::instance_ = nullptr; |
-PlatformScreen::PlatformScreen() { |
+ScreenManager::ScreenManager() { |
DCHECK(!instance_); |
instance_ = this; |
} |
-PlatformScreen::~PlatformScreen() { |
+ScreenManager::~ScreenManager() { |
DCHECK_EQ(instance_, this); |
instance_ = nullptr; |
} |
// static |
-PlatformScreen* PlatformScreen::GetInstance() { |
+ScreenManager* ScreenManager::GetInstance() { |
DCHECK(instance_); |
return instance_; |
} |