Index: chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc |
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc |
index ac235c29861c861ded3b4f819edff93d95bb6e7c..78f077a9f0366979d0ae08da0941e5274b2da342 100644 |
--- a/chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc |
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc |
@@ -3,7 +3,6 @@ |
// found in the LICENSE file. |
#include "chrome/common/extensions/extension_manifest_constants.h" |
-#include "chrome/common/extensions/manifest_handler.h" |
#include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" |
#include "chrome/common/extensions/manifest_url_handler.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -13,9 +12,7 @@ namespace errors = extension_manifest_errors; |
class URLOverridesManifestTest : public ExtensionManifestTest { |
virtual void SetUp() OVERRIDE { |
ExtensionManifestTest::SetUp(); |
- extensions::ManifestHandler::Register( |
- extension_manifest_keys::kChromeURLOverrides, |
- make_linked_ptr(new extensions::URLOverridesHandler)); |
+ (new extensions::URLOverridesHandler)->Register(); |
} |
}; |