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

Unified Diff: trunk/src/device/bluetooth/bluetooth_adapter.cc

Issue 188663003: Revert 255262 "Migrate chrome.bluetooth API backend to use devic..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « trunk/src/device/bluetooth/bluetooth.gyp ('k') | trunk/src/device/bluetooth/bluetooth_discovery_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/device/bluetooth/bluetooth_adapter.cc
===================================================================
--- trunk/src/device/bluetooth/bluetooth_adapter.cc (revision 255369)
+++ trunk/src/device/bluetooth/bluetooth_adapter.cc (working copy)
@@ -113,7 +113,7 @@
const DiscoverySessionCallback& callback) {
VLOG(1) << "Discovery session started!";
scoped_ptr<BluetoothDiscoverySession> discovery_session(
- new BluetoothDiscoverySession(scoped_refptr<BluetoothAdapter>(this)));
+ new BluetoothDiscoverySession(this));
discovery_sessions_.insert(discovery_session.get());
callback.Run(discovery_session.Pass());
}
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth.gyp ('k') | trunk/src/device/bluetooth/bluetooth_discovery_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698