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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2571323002: Fix leak in VRServiceImpl (Closed)
Patch Set: Created 4 years 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 | « no previous file | device/vr/vr_service_impl.h » ('j') | device/vr/vr_service_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index f0b3cf2ca18565a0843d9ddb4d7a554468373184..2c1fae9c4567fe0042b26ffca15ed3588de977b8 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2264,7 +2264,7 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
#if defined(ENABLE_WEBVR)
GetInterfaceRegistry()->AddInterface<device::mojom::VRService>(
- base::Bind(&device::VRServiceImpl::BindRequest));
+ base::Bind(&device::VRServiceImpl::Create));
#endif
if (base::FeatureList::IsEnabled(features::kGenericSensor)) {
GetInterfaceRegistry()->AddInterface(
« no previous file with comments | « no previous file | device/vr/vr_service_impl.h » ('j') | device/vr/vr_service_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698