summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_unittest.cc
diff options
context:
space:
mode:
authoryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-05 00:26:24 +0000
committeryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-05 00:26:24 +0000
commit03e075367e4dc574ef190da93e8b80914d8a589d (patch)
tree7f878af783192123ff53529871578df27018e944 /chrome/common/extensions/extension_unittest.cc
parenta46d5376c4021468352355ab83273598bc04995d (diff)
downloadchromium_src-03e075367e4dc574ef190da93e8b80914d8a589d.zip
chromium_src-03e075367e4dc574ef190da93e8b80914d8a589d.tar.gz
chromium_src-03e075367e4dc574ef190da93e8b80914d8a589d.tar.bz2
Allow manifest handlers to declare keys they depend on that must be parsed before them.
Also fixes linked_ptr usage for multi-key handlers. BUG=159265 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/12091115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180575 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_unittest.cc')
-rw-r--r--chrome/common/extensions/extension_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/extension_unittest.cc b/chrome/common/extensions/extension_unittest.cc
index e6a891b..9eec106 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));
}
};