Index: third_party/WebKit/Source/modules/vr/VRController.cpp |
diff --git a/third_party/WebKit/Source/modules/vr/VRController.cpp b/third_party/WebKit/Source/modules/vr/VRController.cpp |
index 52a020797bd6e61201aa725781c1f57808606a7f..190ce2158dc135c91af8be561123a5d784c620b9 100644 |
--- a/third_party/WebKit/Source/modules/vr/VRController.cpp |
+++ b/third_party/WebKit/Source/modules/vr/VRController.cpp |
@@ -27,9 +27,12 @@ VRController::VRController(NavigatorVR* navigatorVR) |
m_binding.CreateInterfacePtrAndBind(), |
convertToBaseCallback( |
WTF::bind(&VRController::onDisplaysSynced, wrapPersistent(this)))); |
+ VLOG(1) << __FUNCTION__ << ": CONSTRUCTOR this=" << (void*)this << " ***********************************************************************************************************"; |
} |
-VRController::~VRController() {} |
+VRController::~VRController() { |
+ VLOG(1) << __FUNCTION__ << ": CONSTRUCTOR this=" << (void*)this << " ***********************************************************************************************************"; |
+} |
void VRController::getDisplays(ScriptPromiseResolver* resolver) { |
if (!m_service) { |
@@ -52,6 +55,7 @@ void VRController::getDisplays(ScriptPromiseResolver* resolver) { |
} |
void VRController::setListeningForActivate(bool listening) { |
+ VLOG(1) << __FUNCTION__ << ": listening=" << listening << " m_service=" << m_service; |
if (m_service) |
m_service->SetListeningForActivate(listening); |
} |