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

Unified Diff: chrome/browser/extensions/api/i18n/i18n_api.cc

Issue 12091115: Allow manifest handlers to declare keys they depend on that must be parsed before them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dcronin Created 7 years, 10 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/browser/extensions/api/i18n/i18n_api.cc
diff --git a/chrome/browser/extensions/api/i18n/i18n_api.cc b/chrome/browser/extensions/api/i18n/i18n_api.cc
index 4351dad52426b07e7be13555806e5745c5ba0b91..6c97dc448dcaf6fe5d8f60c10e6594f34f264322 100644
--- a/chrome/browser/extensions/api/i18n/i18n_api.cc
+++ b/chrome/browser/extensions/api/i18n/i18n_api.cc
@@ -64,7 +64,7 @@ bool I18nGetAcceptLanguagesFunction::RunImpl() {
I18nAPI::I18nAPI(Profile* profile) {
ManifestHandler::Register(extension_manifest_keys::kDefaultLocale,
- new DefaultLocaleHandler);
+ make_linked_ptr(new DefaultLocaleHandler));
}
I18nAPI::~I18nAPI() {

Powered by Google App Engine
This is Rietveld 408576698