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

Unified Diff: third_party/WebKit/Source/modules/vr/VRController.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/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);
}
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRController.h ('k') | third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698