Index: chrome/browser/extensions/activity_log/activity_log_unittest.cc |
diff --git a/chrome/browser/extensions/activity_log/activity_log_unittest.cc b/chrome/browser/extensions/activity_log/activity_log_unittest.cc |
index 265e8669c1802766b6cb0a0993c3713988eee92b..3c7dadc1b484873fbaf0b45f5528f25b920a18f8 100644 |
--- a/chrome/browser/extensions/activity_log/activity_log_unittest.cc |
+++ b/chrome/browser/extensions/activity_log/activity_log_unittest.cc |
@@ -237,7 +237,7 @@ TEST_F(RenderViewActivityLogTest, LogPrerender) { |
.Set("version", "1.0.0") |
.Set("manifest_version", 2)) |
.Build(); |
- extension_service_->AddExtension(extension); |
+ extension_service_->AddExtension(extension.get()); |
ActivityLog* activity_log = ActivityLog::GetInstance(profile()); |
ASSERT_TRUE(activity_log->IsLogEnabled()); |
GURL url("http://www.google.com"); |