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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_event_router.cc

Issue 2137013005: [Extensions] Code Cleanup - Remove redundant smart-ptr get()s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: extensions/browser/api/bluetooth/bluetooth_event_router.cc
diff --git a/extensions/browser/api/bluetooth/bluetooth_event_router.cc b/extensions/browser/api/bluetooth/bluetooth_event_router.cc
index bd73e7983c538c6cb7b7ca3b168e1e201b34e206..39300a75ecb2fcc0d49a15fdf093abe215a8c36f 100644
--- a/extensions/browser/api/bluetooth/bluetooth_event_router.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_event_router.cc
@@ -375,7 +375,7 @@ void BluetoothEventRouter::DispatchAdapterStateEvent() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
api::bluetooth::AdapterState state;
CHECK(adapter_.get());
- PopulateAdapterState(*adapter_.get(), &state);
+ PopulateAdapterState(*adapter_, &state);
std::unique_ptr<base::ListValue> args =
bluetooth::OnAdapterStateChanged::Create(state);
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_apitest.cc ('k') | extensions/browser/api/bluetooth/bluetooth_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698