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

Unified Diff: chrome/browser/extensions/api/cast_devices_private/cast_devices_private_api.cc

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 9 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 | « no previous file | chrome/browser/extensions/api/certificate_provider/certificate_provider_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/cast_devices_private/cast_devices_private_api.cc
diff --git a/chrome/browser/extensions/api/cast_devices_private/cast_devices_private_api.cc b/chrome/browser/extensions/api/cast_devices_private/cast_devices_private_api.cc
index ab944b2499393b016485cb89c2ef8889096d406d..b40895c78d5f0c42fdcf868b332dc5c56bc2892b 100644
--- a/chrome/browser/extensions/api/cast_devices_private/cast_devices_private_api.cc
+++ b/chrome/browser/extensions/api/cast_devices_private/cast_devices_private_api.cc
@@ -93,10 +93,10 @@ CastDevicesPrivateUpdateDevicesFunction::Run() {
api::cast_devices_private::UpdateDevices::Params::Create(*args_);
CastDeviceUpdateListeners::ReceiverAndActivityList devices;
- for (linked_ptr<api::cast_devices_private::ReceiverActivity> device :
+ for (const api::cast_devices_private::ReceiverActivity& device :
params->devices) {
- devices.push_back(ConvertReceiverAndActivityType(device->receiver,
- device->activity.get()));
+ devices.push_back(
+ ConvertReceiverAndActivityType(device.receiver, device.activity.get()));
}
auto listeners = CastDeviceUpdateListeners::Get(browser_context());
« no previous file with comments | « no previous file | chrome/browser/extensions/api/certificate_provider/certificate_provider_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698