mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Issue #80 - Move implementation of CPOWTimer::CPOWTimer to header.
Fixes link bustage in xul.dll Inline functions must be implemented in the header.
This commit is contained in:
parent
0b039ff7a6
commit
c2c95eff97
2 changed files with 10 additions and 11 deletions
|
|
@ -10,16 +10,6 @@
|
|||
|
||||
#include "jsapi.h"
|
||||
|
||||
CPOWTimer::CPOWTimer(JSContext* cx MOZ_GUARD_OBJECT_NOTIFIER_PARAM_IN_IMPL)
|
||||
: cx_(nullptr)
|
||||
, startInterval_(0)
|
||||
{
|
||||
MOZ_GUARD_OBJECT_NOTIFIER_INIT;
|
||||
if (!js::GetStopwatchIsMonitoringCPOW(cx))
|
||||
return;
|
||||
cx_ = cx;
|
||||
startInterval_ = JS_Now();
|
||||
}
|
||||
CPOWTimer::~CPOWTimer()
|
||||
{
|
||||
if (!cx_) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue