diff --git a/dom/performance/PerformanceResourceTiming.h b/dom/performance/PerformanceResourceTiming.h index 690ed43616c5..b768528ff97d 100644 --- a/dom/performance/PerformanceResourceTiming.h +++ b/dom/performance/PerformanceResourceTiming.h @@ -64,7 +64,7 @@ public: } DOMHighResTimeStamp WorkerStart() const { - return mTiming && mTiming->TimingAllowed() + return mTiming ? mTiming->WorkerStartHighRes() : 0; }