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

Unified Diff: media/test/pipeline_integration_perftest.cc

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: media/test/pipeline_integration_perftest.cc
diff --git a/media/test/pipeline_integration_perftest.cc b/media/test/pipeline_integration_perftest.cc
index 81efc909cde38c75c4f9325af92075c665151dbc..e09de39ee8fead784cd577c98655aa45b67539a3 100644
--- a/media/test/pipeline_integration_perftest.cc
+++ b/media/test/pipeline_integration_perftest.cc
@@ -24,7 +24,7 @@ static void RunPlaybackBenchmark(const std::string& filename,
PIPELINE_OK,
pipeline.Start(filename, PipelineIntegrationTestBase::kClockless));
- base::TimeTicks start = base::TimeTicks::HighResNow();
+ base::TimeTicks start = base::TimeTicks::Now();
pipeline.Play();
ASSERT_TRUE(pipeline.WaitUntilOnEnded());
@@ -35,7 +35,7 @@ static void RunPlaybackBenchmark(const std::string& filename,
if (audio_only) {
time_seconds += pipeline.GetAudioTime().InSecondsF();
} else {
- time_seconds += (base::TimeTicks::HighResNow() - start).InSecondsF();
+ time_seconds += (base::TimeTicks::Now() - start).InSecondsF();
}
}

Powered by Google App Engine
This is Rietveld 408576698