Index: webrtc/base/sharedexclusivelock_unittest.cc |
diff --git a/webrtc/base/sharedexclusivelock_unittest.cc b/webrtc/base/sharedexclusivelock_unittest.cc |
index 132bbd9f29e3dded9d115e24c9fed504391c4139..e0462ffa115d99674c8ab4aa1ccd8fd7cff9cddc 100644 |
--- a/webrtc/base/sharedexclusivelock_unittest.cc |
+++ b/webrtc/base/sharedexclusivelock_unittest.cc |
@@ -61,7 +61,7 @@ class ReadTask : public SharedExclusiveTask { |
private: |
virtual void OnMessage(Message* message) { |
RTC_CHECK(rtc::Thread::Current() == worker_thread_.get()); |
- RTC_CHECK(message != NULL); |
+ RTC_CHECK(message != nullptr); |
RTC_CHECK(message->message_id == kMsgRead); |
TypedMessageData<int*>* message_data = |
@@ -73,7 +73,7 @@ class ReadTask : public SharedExclusiveTask { |
done_->Set(); |
} |
delete message->pdata; |
- message->pdata = NULL; |
+ message->pdata = nullptr; |
} |
}; |
@@ -91,7 +91,7 @@ class WriteTask : public SharedExclusiveTask { |
private: |
virtual void OnMessage(Message* message) { |
RTC_CHECK(rtc::Thread::Current() == worker_thread_.get()); |
- RTC_CHECK(message != NULL); |
+ RTC_CHECK(message != nullptr); |
RTC_CHECK(message->message_id == kMsgWrite); |
TypedMessageData<int>* message_data = |
@@ -103,7 +103,7 @@ class WriteTask : public SharedExclusiveTask { |
done_->Set(); |
} |
delete message->pdata; |
- message->pdata = NULL; |
+ message->pdata = nullptr; |
} |
}; |