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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc

Issue 501263002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/extensions/api/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just in case Created 6 years, 4 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: chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc
index 8a1a4972f1746d6532bcb0615d6322e20202569c..030d305cd9c947446f67f3dd563ae9cc95501fb5 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc
@@ -93,8 +93,8 @@ TEST_F(BluetoothEventRouterTest, UnloadExtension) {
.SetID(kTestExtensionId)
.Build();
- ExtensionRegistry::Get(test_profile_.get())
- ->TriggerOnUnloaded(extension, UnloadedExtensionInfo::REASON_DISABLE);
+ ExtensionRegistry::Get(test_profile_.get())->TriggerOnUnloaded(
+ extension.get(), UnloadedExtensionInfo::REASON_DISABLE);
EXPECT_CALL(*mock_adapter_, RemoveObserver(testing::_)).Times(1);
}

Powered by Google App Engine
This is Rietveld 408576698