Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2311)

Unified Diff: chrome/browser/extensions/extension_system.cc

Issue 13949011: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/external_pref_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_system.cc
diff --git a/chrome/browser/extensions/extension_system.cc b/chrome/browser/extensions/extension_system.cc
index df52ac05429cc415608215860150c075b7cec0c2..bd3b0ba9908491a66a80bafcc5883987d930f251 100644
--- a/chrome/browser/extensions/extension_system.cc
+++ b/chrome/browser/extensions/extension_system.cc
@@ -236,11 +236,11 @@ void ExtensionSystemImpl::Shared::Init(bool extensions_enabled) {
}
void ExtensionSystemImpl::Shared::Shutdown() {
- if (extension_warning_service_.get()) {
+ if (extension_warning_service_) {
extension_warning_service_->RemoveObserver(
extension_warning_badge_service_.get());
}
- if (extension_service_.get())
+ if (extension_service_)
extension_service_->Shutdown();
}
@@ -320,7 +320,7 @@ ExtensionSystemImpl::ExtensionSystemImpl(Profile* profile)
}
ExtensionSystemImpl::~ExtensionSystemImpl() {
- if (rules_registry_service_.get())
+ if (rules_registry_service_)
rules_registry_service_->Shutdown();
}
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/external_pref_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698