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

Unified Diff: device/vr/vr_display_impl.cc

Issue 2615723002: Revert of Fix leak in VRServiceImpl (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
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | device/vr/vr_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_display_impl.cc
diff --git a/device/vr/vr_display_impl.cc b/device/vr/vr_display_impl.cc
index 8fc00570607253d735a2b56a92d0c8150b7ef5bd..9c4b2c4960e98e5c7be7c2ed8c5515d33eb0f612 100644
--- a/device/vr/vr_display_impl.cc
+++ b/device/vr/vr_display_impl.cc
@@ -25,9 +25,7 @@
}
}
-VRDisplayImpl::~VRDisplayImpl() {
- device_->RemoveService(service_);
-}
+VRDisplayImpl::~VRDisplayImpl() {}
void VRDisplayImpl::GetPose(const GetPoseCallback& callback) {
if (!device_->IsAccessAllowed(service_)) {
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | device/vr/vr_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698