Index: chrome/browser/extensions/extension_management_test_util.h |
diff --git a/chrome/browser/extensions/extension_management_test_util.h b/chrome/browser/extensions/extension_management_test_util.h |
index d0b6bedbe5101c80a1c8dffd8043a6e9aa606367..30b1cd1b274958d3a408e2b4410f394c746ca0f3 100644 |
--- a/chrome/browser/extensions/extension_management_test_util.h |
+++ b/chrome/browser/extensions/extension_management_test_util.h |
@@ -119,8 +119,7 @@ class ExtensionManagementPrefUpdater |
} |
virtual ~ExtensionManagementPrefUpdater() { |
- service_->SetManagedPref(pref_names::kExtensionManagement, |
- TakePref().release()); |
+ service_->SetManagedPref(pref_names::kExtensionManagement, TakePref()); |
} |
private: |