Index: webrtc/logging/rtc_event_log/rtc_event_log.h |
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.h b/webrtc/logging/rtc_event_log/rtc_event_log.h |
index 0800a4329915bc2fd716a1a55f656d3ebca57b30..ccf60944e2f50067854e57f5dfc9f407720dd631 100644 |
--- a/webrtc/logging/rtc_event_log/rtc_event_log.h |
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.h |
@@ -40,7 +40,13 @@ class RtcEventLog { |
virtual ~RtcEventLog() {} |
// Factory method to create an RtcEventLog object. |
- static std::unique_ptr<RtcEventLog> Create(const Clock* clock); |
+ static std::unique_ptr<RtcEventLog> Create(); |
+ // TODO(nisse): webrtc::Clock is deprecated. Delete this method and |
+ // above forward declaration of Clock when |
+ // webrtc/system_wrappers/include/clock.h is deleted. |
+ static std::unique_ptr<RtcEventLog> Create(const Clock* clock) { |
+ return Create(); |
+ } |
// Create an RtcEventLog object that does nothing. |
static std::unique_ptr<RtcEventLog> CreateNull(); |