| 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 63abc4086fcf8c1e4037e755310e3dd56dd6429a..36aa47c5b8dcc414b32a940ddd4bdb11a5a0442e 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| @@ -18,12 +18,12 @@ void VRController::provideTo(LocalFrame& frame, WebVRClient* client)
|
| ASSERT(RuntimeEnabledFeatures::webVREnabled());
|
|
|
| VRController* controller = new VRController(frame, client);
|
| - HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), controller);
|
| + Supplement<LocalFrame>::provideTo(frame, supplementName(), controller);
|
| }
|
|
|
| VRController* VRController::from(LocalFrame& frame)
|
| {
|
| - return static_cast<VRController*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
|
| + return static_cast<VRController*>(Supplement<LocalFrame>::from(frame, supplementName()));
|
| }
|
|
|
| VRController::VRController(LocalFrame& frame, WebVRClient* client)
|
| @@ -73,7 +73,7 @@ void VRController::willDetachFrameHost()
|
|
|
| DEFINE_TRACE(VRController)
|
| {
|
| - HeapSupplement<LocalFrame>::trace(visitor);
|
| + Supplement<LocalFrame>::trace(visitor);
|
| LocalFrameLifecycleObserver::trace(visitor);
|
| }
|
|
|
|
|