Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(987)

Unified Diff: third_party/WebKit/Source/modules/vr/VRHardwareUnitCollection.h

Issue 1398523002: Use NoBaseWillBeGarbageCollectedFinalized for VRController as other LocalFrame supplements in modul… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vr/VRHardwareUnitCollection.h
diff --git a/third_party/WebKit/Source/modules/vr/VRHardwareUnitCollection.h b/third_party/WebKit/Source/modules/vr/VRHardwareUnitCollection.h
index e273fd2b8894a6f8948e59605fdf9527b46110c6..cbdf63ffe286a63990b6fe84b37f0549ac48255a 100644
--- a/third_party/WebKit/Source/modules/vr/VRHardwareUnitCollection.h
+++ b/third_party/WebKit/Source/modules/vr/VRHardwareUnitCollection.h
@@ -16,7 +16,7 @@ struct WebVRDevice;
class VRHardwareUnitCollection final : public GarbageCollected<VRHardwareUnitCollection> {
public:
- explicit VRHardwareUnitCollection(VRController*);
+ explicit VRHardwareUnitCollection(NavigatorVRDevice*);
VRDeviceVector updateVRHardwareUnits(const WebVector<WebVRDevice>&);
VRHardwareUnit* getHardwareUnitForIndex(unsigned index);
@@ -24,7 +24,7 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- Member<VRController> m_controller;
+ Member<NavigatorVRDevice> m_navigatorVRDevice;
HeapVector<Member<VRHardwareUnit>> m_hardwareUnits;
};

Powered by Google App Engine
This is Rietveld 408576698