| Index: third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| index b3acb36935316dd79addae9993ee094dfba11e3a..795bcd30536b3fa21a4e7021fcc05cb1a53fa9da 100644
|
| --- a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| @@ -11,6 +11,7 @@
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/frame/Navigator.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/page/Page.h"
|
| #include "modules/vr/VRController.h"
|
| #include "modules/vr/VRDisplay.h"
|
| @@ -56,6 +57,8 @@ ScriptPromise NavigatorVR::getVRDisplays(ScriptState* scriptState)
|
| return promise;
|
| }
|
|
|
| + UseCounter::count(*document, UseCounter::VRGetDisplays);
|
| +
|
| controller()->getDisplays(resolver);
|
|
|
| return promise;
|
|
|