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

Unified Diff: Source/modules/vr/VRPositionState.cpp

Issue 1052903002: Migrate vr to use inlined tracing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/modules/vr/VRPositionState.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/vr/VRPositionState.cpp
diff --git a/Source/modules/vr/VRPositionState.cpp b/Source/modules/vr/VRPositionState.cpp
index 47a9869d6e02b472f77275b3f7d7cf9cdc86b248..3146ca8b7778f094915171bfcd2e461ccf39ad67 100644
--- a/Source/modules/vr/VRPositionState.cpp
+++ b/Source/modules/vr/VRPositionState.cpp
@@ -40,7 +40,7 @@ void VRPositionState::setState(const blink::WebHMDSensorState &state)
m_linearAcceleration = VecToDomPoint(state.linearAcceleration, state.flags & WebVRSensorStateLinearAcceleration);
}
-void VRPositionState::trace(Visitor* visitor)
+DEFINE_TRACE(VRPositionState)
{
visitor->trace(m_orientation);
visitor->trace(m_position);
« no previous file with comments | « Source/modules/vr/VRPositionState.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698