Index: webrtc/base/sigslot_unittest.cc |
diff --git a/webrtc/base/sigslot_unittest.cc b/webrtc/base/sigslot_unittest.cc |
index d7d64b4393545d1e32425b2c030aa102fb4f24b9..cb773363101b93e3f0ee05f3c3208ddbc7a69cea 100644 |
--- a/webrtc/base/sigslot_unittest.cc |
+++ b/webrtc/base/sigslot_unittest.cc |
@@ -32,8 +32,7 @@ template<class slot_policy = sigslot::single_threaded, |
class signal_policy = sigslot::single_threaded> |
class SigslotReceiver : public sigslot::has_slots<slot_policy> { |
public: |
- SigslotReceiver() : signal_(NULL), signal_count_(0) { |
- } |
+ SigslotReceiver() : signal_(nullptr), signal_count_(0) {} |
~SigslotReceiver() { |
} |
@@ -47,7 +46,7 @@ class SigslotReceiver : public sigslot::has_slots<slot_policy> { |
void Disconnect() { |
if (!signal_) return; |
signal_->disconnect(this); |
- signal_ = NULL; |
+ signal_ = nullptr; |
} |
void OnSignal() { |
++signal_count_; |