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

Unified Diff: chrome/browser/extensions/web_intents_parser.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/web_intents_parser.cc
diff --git a/chrome/browser/extensions/web_intents_parser.cc b/chrome/browser/extensions/web_intents_parser.cc
index bb63216502bddb380ec457a5f9278f3a4636f3b1..26be0a9015bd456957baadfb2988c2563e75a952 100644
--- a/chrome/browser/extensions/web_intents_parser.cc
+++ b/chrome/browser/extensions/web_intents_parser.cc
@@ -14,7 +14,7 @@ namespace extensions {
WebIntentsParser::WebIntentsParser(Profile* profile) {
ManifestHandler::Register(extension_manifest_keys::kIntents,
- new WebIntentsHandler);
+ make_linked_ptr(new WebIntentsHandler));
}
WebIntentsParser::~WebIntentsParser() {
« no previous file with comments | « chrome/browser/extensions/web_accessible_resources_parser.cc ('k') | chrome/browser/intents/web_intents_registry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698