summaryrefslogtreecommitdiff
path: root/mozglue/misc/TimeStamp.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-07-15 23:13:31 +0000
committerMoonchild <moonchild@palemoon.org>2021-07-15 23:13:31 +0000
commitfeafc2f129df921f9e2954f0a21b1060588e4a0f (patch)
tree248d2f8df51e96c0d518ae5c782ad801ec53702f /mozglue/misc/TimeStamp.h
parent84825468041d590ff8c660c42cf93b0d2243ad52 (diff)
parentc198ef11b9d2697501b3ea4cbcab98e4dad48a9d (diff)
downloaduxp-RELBASE_20210719.tar.gz
Merge branch 'master' into releaseRELBASE_20210719RC_20210715
Diffstat (limited to 'mozglue/misc/TimeStamp.h')
-rw-r--r--mozglue/misc/TimeStamp.h9
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