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

Unified Diff: chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc

Issue 2152373003: [Extensions] Code Cleanup - Remove redundant smart-ptr get()s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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
Index: chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc
diff --git a/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc b/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc
index 357a2a744c21d79f574ce5333a8c7cc318570b16..b8f5fe9e0b1ed6fe89901c23763f07426d7a6ee3 100644
--- a/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc
+++ b/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc
@@ -173,7 +173,7 @@ bool SettingsOverridesHandler::Parse(Extension* extension,
extension,
new SettingsOverrideAPIPermission(
PermissionsInfo::GetInstance()->GetByID(APIPermission::kHomepage),
- RemoveWwwPrefix(info->homepage.get()->GetContent())));
+ RemoveWwwPrefix(info->homepage->GetContent())));
}
extension->SetManifestData(manifest_keys::kSettingsOverride,
info.release());

Powered by Google App Engine
This is Rietveld 408576698