Closed Bug 1856243 Opened 1 year ago Closed 1 year ago

Scheduling.cpp: using mozilla::TimeStamp;

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: Sylvestre, Assigned: shahrushil74, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [lang=c++])

Attachments

(1 file)

Component: Lint and Formatting → JavaScript: GC
Product: Developer Infrastructure → Core

Hi, I an outreachy applicant for december cohorot. I am interested in working with this issue. Please assign it to me.

it will be assigned to you as soon as you submit a patch for review :)

Severity: -- → N/A
Priority: -- → P3

Hi, updateHighFrequencyMode method is using mozilla::TimeStamp

yeah, it is expected. mozilla:: is providing the namespace.

Hi, function is using TimeStamp then how can it be unused?

mozilla::TimeStamp is being used, so we still need the header include. If you click on the link in comment 0, you'll see this is about the using declaration using mozilla::TimeStamp;. This would let somebody write TimeStamp in this file, without the namespace mozilla, but TimeStamp is only used in this file with the explicit namespace, so the using is not needed.

Assignee: nobody → shahrushil74
Status: NEW → ASSIGNED

Thanks Andrew for clarity.

Hi, I submitted patch can someone review

Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e638f7f57065 Scheduling.cpp: using mozilla::TimeStamp; r=sylvestre
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: