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

Unified Diff: chrome/utility/chrome_content_utility_client.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
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/chrome_content_utility_client.cc
diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
index 411b882c6eb814d97bfadcbc97a01824a9ba84e8..a36a0a20edcc4522c8893cbbd3fd478a5f1e1209 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -53,10 +53,10 @@ namespace {
void RegisterExtensionManifestHandlers() {
extensions::ManifestHandler::Register(
extension_manifest_keys::kBrowserAction,
- new extensions::BrowserActionHandler);
+ make_linked_ptr(new extensions::BrowserActionHandler));
extensions::ManifestHandler::Register(
extension_manifest_keys::kDefaultLocale,
- new extensions::DefaultLocaleHandler);
+ make_linked_ptr(new extensions::DefaultLocaleHandler));
}
} // namespace
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698