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

Issue 864943002: Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). (Closed)

Created:
5 years, 11 months ago by charliea
Modified:
5 years, 11 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, sadrul, mlamouri+watch-content_chromium.org, wfh+watch_chromium.org, jdduke+watch_chromium.org, tdresser+watch_chromium.org, jam, feature-media-reviews_chromium.org, dsinclair+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, chromium-apps-reviews_chromium.org, cc-bugs_chromium.org, erikwright+watch_chromium.org, scheduler-bugs_chromium.org, tfarina, sullivan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replaces instances of the deprecated TimeTicks::HighResNow() with TimeTicks::Now(). BUG= Committed: https://crrev.com/3be83970173f29ff3fec067fe64ff9910ce53c73 Cr-Commit-Position: refs/heads/master@{#313084}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Made changes based on review comments (including deleting IsHighResNowFastAndReliable) #

Total comments: 4

Patch Set 3 : More changes based on review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -209 lines) Patch
M base/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M base/base.gyp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M base/debug/trace_event_synthetic_delay.cc View 1 chunk +1 line, -1 line 0 comments Download
D base/debug/trace_event_unittest.h View 1 1 chunk +0 lines, -14 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 1 2 chunks +0 lines, -9 lines 0 comments Download
M base/message_loop/message_pump_perftest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M base/rand_util_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/test/trace_event_analyzer_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M base/threading/thread_perftest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M base/time/tick_clock.h View 1 chunk +2 lines, -2 lines 0 comments Download
M base/time/time.h View 1 1 chunk +0 lines, -9 lines 0 comments Download
M base/time/time_mac.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M base/time/time_posix.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M base/time/time_unittest.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M base/time/time_win_unittest.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M cc/debug/lap_timer.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M cc/debug/picture_record_benchmark.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/debug/rendering_stats_instrumentation.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/scheduler/delay_based_time_source.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M cc/scheduler/delay_based_time_source.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/proxy_timing_history.cc View 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/load_library_perf_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/net/network_stats.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/renderer/benchmarking_extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M content/common/cc_messages_perftest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/input/input_handler_proxy.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/skia_benchmarking_extension.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/time.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc View 6 chunks +6 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc View 4 chunks +4 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gpu_scheduler.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/query_manager.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/tests/gl_query_unittest.cc View 5 chunks +4 lines, -6 lines 0 comments Download
M jingle/glue/pseudotcp_adapter_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/clockless_audio_sink.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/audio_bus_perftest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M media/base/audio_converter_perftest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/demuxer_perftest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M media/base/sinc_resampler_perftest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/base/sinc_resampler_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M media/base/vector_math_perftest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M media/base/yuv_convert_perftest.cc View 6 chunks +6 lines, -9 lines 0 comments Download
M media/midi/midi_manager_alsa.cc View 1 chunk +1 line, -2 lines 0 comments Download
M media/midi/usb_midi_device_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/test/pipeline_integration_perftest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/bandwidth_metrics.h View 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/benchmarking_canvas.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/gn/trace.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +5 lines, -7 lines 0 comments Download
M tools/valgrind/gtest_exclude/base_unittests.gtest_win32.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/compositor/layer_animator.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M ui/events/latency_info.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gl/gl_surface_glx.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 33 (17 generated)
charliea_google.com
Hi Yuri, After you LGTM these changes, I'll send the review to someone with sufficient ...
5 years, 11 months ago (2015-01-21 23:21:30 UTC) #7
miu
Thanks for taking care of this. I also recommend deleting the HighResNow() and IsHighResNowFastAndReliable() methods ...
5 years, 11 months ago (2015-01-21 23:52:51 UTC) #9
charliea_google.com
PTAL. Especially with the comment changes, there were some judgement calls involved. https://codereview.chromium.org/864943002/diff/100001/base/debug/trace_event_unittest.cc File base/debug/trace_event_unittest.cc ...
5 years, 11 months ago (2015-01-22 15:20:46 UTC) #10
miu
lgtm % these two things: https://codereview.chromium.org/864943002/diff/140001/base/debug/trace_event_unittest.h File base/debug/trace_event_unittest.h (left): https://codereview.chromium.org/864943002/diff/140001/base/debug/trace_event_unittest.h#oldcode1 base/debug/trace_event_unittest.h:1: // Copyright (c) 2012 ...
5 years, 11 months ago (2015-01-22 20:06:42 UTC) #11
charliea_google.com
Now that I have an LGTM from miu - darin, could you take a look ...
5 years, 11 months ago (2015-01-22 22:56:59 UTC) #13
charliea_google.com
On 2015/01/22 22:56:59, charliea wrote: > Now that I have an LGTM from miu - ...
5 years, 11 months ago (2015-01-23 17:19:47 UTC) #14
charliea_google.com
5 years, 11 months ago (2015-01-23 18:21:31 UTC) #17
jam
lgtm
5 years, 11 months ago (2015-01-23 18:25:16 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864943002/160001
5 years, 11 months ago (2015-01-23 18:29:09 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37974)
5 years, 11 months ago (2015-01-23 18:38:08 UTC) #22
Alexei Svitkine (slow)
LGTM
5 years, 11 months ago (2015-01-23 20:53:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864943002/160001
5 years, 11 months ago (2015-01-23 20:57:09 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37971)
5 years, 11 months ago (2015-01-23 20:57:58 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/864943002/160001
5 years, 11 months ago (2015-01-26 17:34:31 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:160001)
5 years, 11 months ago (2015-01-26 17:36:19 UTC) #32
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 17:37:21 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3be83970173f29ff3fec067fe64ff9910ce53c73
Cr-Commit-Position: refs/heads/master@{#313084}

Powered by Google App Engine
This is Rietveld 408576698