Closed Bug 1649977 Opened 4 years ago Closed 4 years ago

Stop using a Google's base::Thread with the VRService

Categories

(Core :: WebVR, task)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The VRService thread is using a Google's Thread rather than a nsThread; the code is pretty similar to what the CompositorThread was using before it got migrated to nsThread .

So we can probably re-use some of that code instead.

The logic was apparently initially copied from the compositor thread which too got migrated to nsThread in bug 1634253, so we re-use that same logic again.

This allows to remove all use of the Google's MessageLoop.

Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e8b3923eef5b
Use a nsThread for the VRService. r=kip
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: