Index: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm |
index 4781dd6d801fcab10af628d9e6c8bba7a83eff8e..4016bbdd1f6663200232548806d88663eef58cba 100644 |
--- a/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller_unittest.mm |
@@ -111,7 +111,7 @@ class ExtensionInstalledBubbleControllerTest : public CocoaProfileTest { |
scoped_refptr<Extension> extension = |
Extension::Create(path, extensions::Manifest::INVALID_LOCATION, |
extension_input_value, Extension::NO_FLAGS, &error); |
- extension_service_->AddExtension(extension); |
+ extension_service_->AddExtension(extension.get()); |
return extension; |
} |