mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Bug 1402871 - Change VREventObserver::mWindow to a RefPtr,r=dveditz
MozReview-Commit-ID: 79MlNMAvIQD --HG-- extra : rebase_source : 717bed76ca218844d4308e616ee5a7bb2a59591c
This commit is contained in:
parent
28e8f43756
commit
f379b8fea9
@ -34,8 +34,7 @@ public:
|
||||
private:
|
||||
~VREventObserver();
|
||||
|
||||
// Weak pointer, instance is owned by mWindow.
|
||||
nsGlobalWindow* MOZ_NON_OWNING_REF mWindow;
|
||||
RefPtr<nsGlobalWindow> mWindow;
|
||||
// For WebVR telemetry for tracking users who view content
|
||||
// in the 2D view.
|
||||
TimeStamp mSpendTimeIn2DView;
|
||||
|
Loading…
Reference in New Issue
Block a user