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

Unified Diff: media/renderers/renderer_impl_unittest.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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/renderers/renderer_impl_unittest.cc
diff --git a/media/renderers/renderer_impl_unittest.cc b/media/renderers/renderer_impl_unittest.cc
index 85ed9a097bb7a02a000c5b6be4059720063bc525..7b740810bd4b72ebde6d0099b5aa88ce633de312 100644
--- a/media/renderers/renderer_impl_unittest.cc
+++ b/media/renderers/renderer_impl_unittest.cc
@@ -24,7 +24,7 @@ using ::testing::StrictMock;
namespace media {
-const int64 kStartPlayingTimeInMs = 100;
+const int64_t kStartPlayingTimeInMs = 100;
ACTION_P2(SetBufferingState, cb, buffering_state) {
cb->Run(buffering_state);
@@ -223,13 +223,13 @@ class RendererImplTest : public ::testing::Test {
base::RunLoop().RunUntilIdle();
}
- int64 GetMediaTimeMs() {
+ int64_t GetMediaTimeMs() {
return renderer_impl_->GetMediaTime().InMilliseconds();
}
bool IsMediaTimeAdvancing(double playback_rate) {
- int64 start_time_ms = GetMediaTimeMs();
- const int64 time_to_advance_ms = 100;
+ int64_t start_time_ms = GetMediaTimeMs();
+ const int64_t time_to_advance_ms = 100;
test_tick_clock_.Advance(
base::TimeDelta::FromMilliseconds(time_to_advance_ms));

Powered by Google App Engine
This is Rietveld 408576698