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

Unified Diff: chrome/common/extensions/extension_unittest.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: Created 7 years, 11 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/extension_unittest.cc
diff --git a/chrome/common/extensions/extension_unittest.cc b/chrome/common/extensions/extension_unittest.cc
index e6a891bc0561ba44a06c729b3a3bc62b1d7c6225..9eec106b4c7866ec3bdb97ef00e930efe45426e8 100644
--- a/chrome/common/extensions/extension_unittest.cc
+++ b/chrome/common/extensions/extension_unittest.cc
@@ -126,7 +126,7 @@ class ExtensionTest : public testing::Test {
protected:
virtual void SetUp() OVERRIDE {
ManifestHandler::Register(extension_manifest_keys::kCommands,
- new CommandsHandler);
+ make_linked_ptr(new CommandsHandler));
}
};

Powered by Google App Engine
This is Rietveld 408576698