summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_startup_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_startup_browsertest.cc')
-rw-r--r--chrome/browser/extensions/extension_startup_browsertest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_startup_browsertest.cc b/chrome/browser/extensions/extension_startup_browsertest.cc
index e45e865..ada7f89 100644
--- a/chrome/browser/extensions/extension_startup_browsertest.cc
+++ b/chrome/browser/extensions/extension_startup_browsertest.cc
@@ -189,8 +189,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionsStartupTest, MAYBE_NoFileAccess) {
it != service->extensions()->end(); ++it) {
if ((*it)->location() == extensions::Manifest::COMPONENT)
continue;
- if (service->AllowFileAccess(*it))
- extension_list.push_back(*it);
+ if (service->AllowFileAccess(it->get()))
+ extension_list.push_back(it->get());
}
for (size_t i = 0; i < extension_list.size(); ++i) {