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

Unified Diff: chrome/common/extensions/extension_file_util_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_file_util_unittest.cc
diff --git a/chrome/common/extensions/extension_file_util_unittest.cc b/chrome/common/extensions/extension_file_util_unittest.cc
index d6c3931812ab80a9d10a74d09f020062300b4cdf..ffd2eb010a21942a3c6c42470ff5fe56e7a0bbfb 100644
--- a/chrome/common/extensions/extension_file_util_unittest.cc
+++ b/chrome/common/extensions/extension_file_util_unittest.cc
@@ -33,10 +33,10 @@ class ExtensionFileUtilTest : public testing::Test {
testing::Test::SetUp();
extensions::ManifestHandler::Register(
extension_manifest_keys::kBrowserAction,
- new extensions::BrowserActionHandler);
+ make_linked_ptr(new extensions::BrowserActionHandler));
extensions::ManifestHandler::Register(
keys::kDefaultLocale,
- new extensions::DefaultLocaleHandler);
+ make_linked_ptr(new extensions::DefaultLocaleHandler));
}
};

Powered by Google App Engine
This is Rietveld 408576698