commit | 753e08c02c1d0d41f8365a37d4d2333b7585b5bc | [log] [tgz] |
---|---|---|
author | eladalon <eladalon@webrtc.org> | Tue Sep 05 11:30:30 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 05 11:30:30 2017 |
tree | b5bc329a6c09f9f801e9cbdff9a761b5cb1ca7d8 | |
parent | f453d910802388af6f959c750fec1a9cd589e3d4 [diff] |
Avoid construction of unused RtcEventLogNullImpl object This CL addresses to nits: 1. When event_log_factory_ is not null, there's no need to create a RtcEventLogNullImpl object. 2. Use MakeUnique. BUG=None Review-Url: https://codereview.webrtc.org/3012763002 Cr-Original-Commit-Position: refs/heads/master@{#19686} Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc Cr-Mirrored-Commit: 393a9f6926636b94ec8accd5dfe4cd6e5c8ebafe