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); |
} |