DescriptionReland: 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 #
Messages
Total messages: 14 (3 generated)
|