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

Unified Diff: athena/env/athena_env_impl.cc

Issue 653563004: NULL -> nullptr under athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 2 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: athena/env/athena_env_impl.cc
diff --git a/athena/env/athena_env_impl.cc b/athena/env/athena_env_impl.cc
index 3359dd9754a796accd191f5bf4b4bdb5f2d0fbf5..2d50c5e6d1c3fd9597ae5201814e8dff633541d7 100644
--- a/athena/env/athena_env_impl.cc
+++ b/athena/env/athena_env_impl.cc
@@ -34,10 +34,10 @@ namespace athena {
namespace {
-AthenaEnv* instance = NULL;
+AthenaEnv* instance = nullptr;
// Screen object used during shutdown.
-gfx::Screen* screen_for_shutdown = NULL;
+gfx::Screen* screen_for_shutdown = nullptr;
// TODO(flackr:oshima): Remove this once athena switches to share
// ash::DisplayManager.
@@ -57,10 +57,10 @@ class ScreenForShutdown : public gfx::Screen {
// gfx::Screen overrides:
virtual gfx::Point GetCursorScreenPoint() override { return gfx::Point(); }
- virtual gfx::NativeWindow GetWindowUnderCursor() override { return NULL; }
+ virtual gfx::NativeWindow GetWindowUnderCursor() override { return nullptr; }
virtual gfx::NativeWindow GetWindowAtScreenPoint(
const gfx::Point& point) override {
- return NULL;
+ return nullptr;
}
virtual int GetNumDisplays() const override { return 1; }
virtual std::vector<gfx::Display> GetAllDisplays() const override {
@@ -219,7 +219,7 @@ class AthenaEnvImpl : public AthenaEnv,
}
virtual ~AthenaEnvImpl() {
- instance = NULL;
+ instance = nullptr;
host_->RemoveObserver(this);
if (input_method_filter_)
« no previous file with comments | « athena/content/web_contents_view_delegate_factory_impl.cc ('k') | athena/extensions/athena_app_delegate_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698