Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / renderer / media / webrtc_logging.cc
index 2bdc7a3..17e5c57 100644 (file)
@@ -4,8 +4,9 @@
 
 #include "content/renderer/media/webrtc_logging.h"
 
+#include "base/time/time.h"
 #include "content/public/renderer/webrtc_log_message_delegate.h"
-#include "third_party/libjingle/overrides/talk/base/logging.h"
+#include "third_party/webrtc/overrides/webrtc/base/logging.h"
 
 namespace content {
 
@@ -20,7 +21,8 @@ void InitWebRtcLoggingDelegate(WebRtcLogMessageDelegate* delegate) {
 }
 
 void InitWebRtcLogging() {
-  talk_base::InitDiagnosticLoggingDelegateFunction(WebRtcLogMessage);
+  // Log messages from Libjingle should not have timestamps.
+  rtc::InitDiagnosticLoggingDelegateFunction(&WebRtcLogMessage);
 }
 
 void WebRtcLogMessage(const std::string& message) {