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

Issue 530293002: Reland: Issue 446203002: Initialize the now_function to the HighResNowWrapper in case High Res is s… (Closed)

Created:
6 years, 3 months ago by fmeawad
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, jar (doing other things), tonyg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reland: Issue 446203002: Initialize the now_function to the HighResNowWrapper in case High Res is supported https://codereview.chromium.org/446203002/ The reland avoids using a static initializer for now_function, it initializes the function pointer on the first call instead. I incorporated maruel@'s suggestions. jam for chrome/browser/ content/app/ willchan,maruel for base/time/ BUG=400627 R=cpu@chromium.org, jam@chromium.org, maruel@chromium.org, thakis@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/a7c8e5e3411d6a3d32f4e1a61f8baa3e438fee52 Committed: https://chromium.googlesource.com/chromium/src/+/90f62d687d7e5049cf1f94cea8c59f6c6282437d

Patch Set 1 #

Total comments: 2

Patch Set 2 : s/PVOID/void*/g #

Total comments: 2

Patch Set 3 : Remove an extra reinterpret_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -42 lines) Patch
M base/test/test_suite.cc View 1 chunk +0 lines, -1 line 0 comments Download
M base/time/time.h View 1 chunk +0 lines, -8 lines 0 comments Download
M base/time/time_win.cc View 1 2 5 chunks +29 lines, -30 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/app/content_main_runner.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
fmeawad
PTAL.
6 years, 3 months ago (2014-09-03 00:54:43 UTC) #3
M-A Ruel
<3 lgtm https://codereview.chromium.org/530293002/diff/1/base/time/time_win.cc File base/time/time_win.cc (right): https://codereview.chromium.org/530293002/diff/1/base/time/time_win.cc#newcode477 base/time/time_win.cc:477: reinterpret_cast<PVOID>(RolloverProtectedNow)); s/PVOID/void*/g
6 years, 3 months ago (2014-09-03 01:26:13 UTC) #4
fmeawad
Thanks maruel@ for the quick review, Owners? https://codereview.chromium.org/530293002/diff/1/base/time/time_win.cc File base/time/time_win.cc (right): https://codereview.chromium.org/530293002/diff/1/base/time/time_win.cc#newcode477 base/time/time_win.cc:477: reinterpret_cast<PVOID>(RolloverProtectedNow)); On ...
6 years, 3 months ago (2014-09-03 18:56:33 UTC) #5
fmeawad
+thakis
6 years, 3 months ago (2014-09-03 18:57:36 UTC) #7
cpu_(ooo_6.6-7.5)
otherwise lgtm https://codereview.chromium.org/530293002/diff/20001/base/time/time_win.cc File base/time/time_win.cc (right): https://codereview.chromium.org/530293002/diff/20001/base/time/time_win.cc#newcode477 base/time/time_win.cc:477: reinterpret_cast<void*>(RolloverProtectedNow)); do you need the second reinterpret_cast<void*>(RolloverProtectedNow) ...
6 years, 3 months ago (2014-09-03 23:27:56 UTC) #8
fmeawad
https://codereview.chromium.org/530293002/diff/20001/base/time/time_win.cc File base/time/time_win.cc (right): https://codereview.chromium.org/530293002/diff/20001/base/time/time_win.cc#newcode477 base/time/time_win.cc:477: reinterpret_cast<void*>(RolloverProtectedNow)); On 2014/09/03 23:27:56, cpu wrote: > do you ...
6 years, 3 months ago (2014-09-04 17:59:23 UTC) #9
jam
lgtm
6 years, 3 months ago (2014-09-04 22:25:59 UTC) #10
Nico
base rs-lgtm
6 years, 3 months ago (2014-09-04 22:28:45 UTC) #11
fmeawad
Committed patchset #3 (id:40001) manually as a7c8e5e.
6 years, 3 months ago (2014-09-05 00:45:25 UTC) #12
fmeawad
Committed patchset #3 (id:40001) manually as 90f62d6 (presubmit successful).
6 years, 3 months ago (2014-09-05 18:14:06 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:40:44 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/90f62d687d7e5049cf1f94cea8c59f6c6282437d
Cr-Commit-Position: refs/heads/master@{#293555}

Powered by Google App Engine
This is Rietveld 408576698