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

Unified Diff: chrome/common/extensions/unpacker_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: 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/common/extensions/unpacker_unittest.cc
diff --git a/chrome/common/extensions/unpacker_unittest.cc b/chrome/common/extensions/unpacker_unittest.cc
index a89881f5469eaf64d66e883674ea977192334b77..b6efe1077d9db48880f497e37ccc3b14d0cdce50 100644
--- a/chrome/common/extensions/unpacker_unittest.cc
+++ b/chrome/common/extensions/unpacker_unittest.cc
@@ -34,8 +34,9 @@ public:
virtual void SetUp() OVERRIDE {
testing::Test::SetUp();
- extensions::ManifestHandler::Register(keys::kDefaultLocale,
- new extensions::DefaultLocaleHandler);
+ extensions::ManifestHandler::Register(
+ keys::kDefaultLocale,
+ make_linked_ptr(new extensions::DefaultLocaleHandler));
}
void SetupUnpacker(const std::string& crx_name) {

Powered by Google App Engine
This is Rietveld 408576698