diff options
author | Moonchild <moonchild@palemoon.org> | 2021-07-15 23:13:31 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-07-15 23:13:31 +0000 |
commit | feafc2f129df921f9e2954f0a21b1060588e4a0f (patch) | |
tree | 248d2f8df51e96c0d518ae5c782ad801ec53702f /mozglue/misc/TimeStamp.h | |
parent | 84825468041d590ff8c660c42cf93b0d2243ad52 (diff) | |
parent | c198ef11b9d2697501b3ea4cbcab98e4dad48a9d (diff) | |
download | uxp-RELBASE_20210719.tar.gz |
Merge branch 'master' into releaseRELBASE_20210719RC_20210715
Diffstat (limited to 'mozglue/misc/TimeStamp.h')
-rw-r--r-- | mozglue/misc/TimeStamp.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mozglue/misc/TimeStamp.h b/mozglue/misc/TimeStamp.h index 019393b284..20e70cbdc1 100644 --- a/mozglue/misc/TimeStamp.h +++ b/mozglue/misc/TimeStamp.h @@ -399,18 +399,9 @@ public: * retrieved by mozilla::TimeStamp. Since we need this for * vsync timestamps, we enable the creation of mozilla::TimeStamps * on platforms that support vsync aligned refresh drivers / compositors - * Verified true as of Jan 31, 2015: OS X * False on Windows 7 * UNTESTED ON OTHER PLATFORMS */ -#if defined(XP_DARWIN) - static TimeStamp FromSystemTime(int64_t aSystemTime) - { - static_assert(sizeof(aSystemTime) == sizeof(TimeStampValue), - "System timestamp should be same units as TimeStampValue"); - return TimeStamp(aSystemTime); - } -#endif /** * Return true if this is the "null" moment |