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

Unified Diff: mojo/public/cpp/utility/lib/run_loop.cc

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 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
Index: mojo/public/cpp/utility/lib/run_loop.cc
diff --git a/mojo/public/cpp/utility/lib/run_loop.cc b/mojo/public/cpp/utility/lib/run_loop.cc
index 9707e7ecf76600bfd3b99637f654e1a9b2625c7a..432365f3d4cec9f76abb4759bb8a9129a0096757 100644
--- a/mojo/public/cpp/utility/lib/run_loop.cc
+++ b/mojo/public/cpp/utility/lib/run_loop.cc
@@ -37,7 +37,7 @@ struct RunLoop::RunState {
};
RunLoop::RunLoop()
- : run_state_(NULL), next_handler_id_(0), next_sequence_number_(0) {
+ : run_state_(nullptr), next_handler_id_(0), next_sequence_number_(0) {
assert(!current());
current_run_loop.Set(this);
}
@@ -45,7 +45,7 @@ RunLoop::RunLoop()
RunLoop::~RunLoop() {
assert(current() == this);
NotifyHandlers(MOJO_RESULT_ABORTED, IGNORE_DEADLINE);
- current_run_loop.Set(NULL);
+ current_run_loop.Set(nullptr);
}
// static

Powered by Google App Engine
This is Rietveld 408576698