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

Unified Diff: device/vr/vr_display_impl.cc

Issue 2624633002: Remove Sync GetPose VRService call, implement VRVSyncProvider (Closed)
Patch Set: Created 3 years, 11 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: device/vr/vr_display_impl.cc
diff --git a/device/vr/vr_display_impl.cc b/device/vr/vr_display_impl.cc
index b4025dd80af2b7b757cea111322fed066f377f50..9f912056eda18ca8efa4e945af9f98ff052b099c 100644
--- a/device/vr/vr_display_impl.cc
+++ b/device/vr/vr_display_impl.cc
@@ -27,15 +27,6 @@ VRDisplayImpl::~VRDisplayImpl() {
device_->RemoveDisplay(this);
}
-void VRDisplayImpl::GetPose(const GetPoseCallback& callback) {
- if (!device_->IsAccessAllowed(this)) {
- callback.Run(nullptr);
- return;
- }
-
- callback.Run(device_->GetPose());
-}
-
void VRDisplayImpl::ResetPose() {
if (!device_->IsAccessAllowed(this))
return;

Powered by Google App Engine
This is Rietveld 408576698