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

Unified Diff: device/vr/vr_device_manager.h

Issue 2537723002: Refine VRDevice Class (Closed)
Patch Set: address comments Created 4 years, 1 month 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_device_manager.h
diff --git a/device/vr/vr_device_manager.h b/device/vr/vr_device_manager.h
index b53d546944de68f67396e39e13a37526fcf750e7..6d3722bb364aa731b8437e3cd93c301f0469bb01 100644
--- a/device/vr/vr_device_manager.h
+++ b/device/vr/vr_device_manager.h
@@ -72,8 +72,8 @@ class VRDeviceManager {
bool vr_initialized_;
- using ServiceList = std::vector<VRServiceImpl*>;
- ServiceList services_;
+ using ServiceSet = std::set<VRServiceImpl*>;
mthiesse 2016/11/30 13:59:04 nit: type alias is also pretty useless here, might
+ ServiceSet services_;
// For testing. If true will not delete self when consumer count reaches 0.
bool keep_alive_;

Powered by Google App Engine
This is Rietveld 408576698