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

Unified Diff: webrtc/base/timeutils.cc

Issue 2718663005: Replace NULL with nullptr or null in webrtc/base/. (Closed)
Patch Set: Fixing Windows and formatting issues. Created 3 years, 10 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
« no previous file with comments | « webrtc/base/thread_unittest.cc ('k') | webrtc/base/trace_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/timeutils.cc
diff --git a/webrtc/base/timeutils.cc b/webrtc/base/timeutils.cc
index 509b6958f595e148edf34f5ea5491ed6c11994e6..7fcc2f4149d4868dc55691bf53169978386d2634 100644
--- a/webrtc/base/timeutils.cc
+++ b/webrtc/base/timeutils.cc
@@ -189,7 +189,7 @@ int64_t TmToSeconds(const std::tm& tm) {
int64_t TimeUTCMicros() {
#if defined(WEBRTC_POSIX)
struct timeval time;
- gettimeofday(&time, NULL);
+ gettimeofday(&time, nullptr);
// Convert from second (1.0) and microsecond (1e-6).
return (static_cast<int64_t>(time.tv_sec) * rtc::kNumMicrosecsPerSec +
time.tv_usec);
« no previous file with comments | « webrtc/base/thread_unittest.cc ('k') | webrtc/base/trace_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698