Bug 1176731 - Don't mark static inline functions as MFBT_API in TimeStamp.h. r=Waldo
authorJacek Caban <jacek@codeweavers.com>
Tue, 28 Jul 2015 17:47:33 +0200
changeset 254992 6a70e09504444427964381427f6008ee14f71fe4
parent 254991 570c40c6fe4b7059f80c1c681ed0f966bfe382b5
child 254993 b2dc6e6de6b6ed3a3a290ab85521ef4f591cea24
push id29126
push userkwierso@gmail.com
push dateWed, 29 Jul 2015 00:47:37 +0000
treeherdermozilla-central@5e36e0daf084 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs1176731
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1176731 - Don't mark static inline functions as MFBT_API in TimeStamp.h. r=Waldo
mozglue/misc/TimeStamp.h
--- a/mozglue/misc/TimeStamp.h
+++ b/mozglue/misc/TimeStamp.h
@@ -421,18 +421,18 @@ public:
    * Now() is trying to ensure the best possible precision on each platform,
    * at least one millisecond.
    *
    * NowLoRes() has been introduced to workaround performance problems of
    * QueryPerformanceCounter on the Windows platform.  NowLoRes() is giving
    * lower precision, usually 15.6 ms, but with very good performance benefit.
    * Use it for measurements of longer times, like >200ms timeouts.
    */
-  static MFBT_API TimeStamp Now() { return Now(true); }
-  static MFBT_API TimeStamp NowLoRes() { return Now(false); }
+  static TimeStamp Now() { return Now(true); }
+  static TimeStamp NowLoRes() { return Now(false); }
 
   /**
    * Return a timestamp representing the time when the current process was
    * created which will be comparable with other timestamps taken with this
    * class. If the actual process creation time is detected to be inconsistent
    * the @a aIsInconsistent parameter will be set to true, the returned
    * timestamp however will still be valid though inaccurate.
    *