Chromium Code Reviews

Unified Diff: webrtc/common_video/libyuv/scaler_unittest.cc

Issue 1888593004: Delete all use of tick_util.h. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/common_video/libyuv/scaler_unittest.cc
diff --git a/webrtc/common_video/libyuv/scaler_unittest.cc b/webrtc/common_video/libyuv/scaler_unittest.cc
index 9ba1b9d94f36f1f4ea3cafdbe9529aaf6b3b13ef..4fb417fb2d403ab2e88daee73847ea024ba38a7e 100644
--- a/webrtc/common_video/libyuv/scaler_unittest.cc
+++ b/webrtc/common_video/libyuv/scaler_unittest.cc
@@ -14,8 +14,8 @@
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
+#include "webrtc/base/timeutils.h"
#include "webrtc/common_video/libyuv/include/scaler.h"
-#include "webrtc/system_wrappers/include/tick_util.h"
#include "webrtc/test/testsupport/fileutils.h"
namespace webrtc {
@@ -378,9 +378,9 @@ void TestScaler::ScaleSequence(ScaleMethod method,
(src_width + 1) / 2,
kVideoRotation_0);
- start_clock = TickTime::MillisecondTimestamp();
+ start_clock = rtc::Time64();
EXPECT_EQ(0, test_scaler_.Scale(input_frame, &output_frame));
- total_clock += TickTime::MillisecondTimestamp() - start_clock;
+ total_clock += rtc::Time64() - start_clock;
if (PrintVideoFrame(output_frame, output_file) < 0) {
return;
}

Powered by Google App Engine