summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/profile_impl.cc')
-rw-r--r--chrome/browser/profiles/profile_impl.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index b1fbf66..1e4bff0 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -396,9 +396,8 @@ void ProfileImpl::InitExtensions() {
extensions_service_->LoadExtension(path);
}
- // Make the chrome://extension-icon/ resource is available.
- ExtensionIconSource* icon_source = new ExtensionIconSource(this);
- GetChromeURLDataManager()->AddDataSource(icon_source);
+ // Make the chrome://extension-icon/ resource available.
+ GetChromeURLDataManager()->AddDataSource(new ExtensionIconSource(this));
}
void ProfileImpl::RegisterComponentExtensions() {