Index: content/browser/device_monitor_mac.mm |
diff --git a/content/browser/device_monitor_mac.mm b/content/browser/device_monitor_mac.mm |
index c3c713c5714154547c99c9f860a85e9b91640ef3..36e9a5714b7313b5c241bdb99274cbf9c11ab8fe 100644 |
--- a/content/browser/device_monitor_mac.mm |
+++ b/content/browser/device_monitor_mac.mm |
@@ -32,7 +32,7 @@ class DeviceInfo { |
kInvalid |
}; |
- DeviceInfo(std::string unique_id, DeviceType type) |
+ DeviceInfo(const std::string& unique_id, DeviceType type) |
: unique_id_(unique_id), type_(type) {} |
// Operator== is needed here to use this class in a std::find. A given |