| Index: chrome/common/extensions/api/commands/commands_manifest_unittest.cc
|
| diff --git a/chrome/common/extensions/api/commands/commands_manifest_unittest.cc b/chrome/common/extensions/api/commands/commands_manifest_unittest.cc
|
| index 9a27c391321cfda946187a84d6b100bd2242b585..80f33176dd8924d6beaa37ddca3efa593aa4bafa 100644
|
| --- a/chrome/common/extensions/api/commands/commands_manifest_unittest.cc
|
| +++ b/chrome/common/extensions/api/commands/commands_manifest_unittest.cc
|
| @@ -8,8 +8,6 @@
|
| #include "base/string_util.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/extensions/api/commands/commands_handler.h"
|
| -#include "chrome/common/extensions/extension_manifest_constants.h"
|
| -#include "chrome/common/extensions/manifest_handler.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace errors = extension_manifest_errors;
|
| @@ -19,8 +17,7 @@ namespace extensions {
|
| class CommandsManifestTest : public ExtensionManifestTest {
|
| protected:
|
| virtual void SetUp() OVERRIDE {
|
| - ManifestHandler::Register(extension_manifest_keys::kCommands,
|
| - make_linked_ptr(new CommandsHandler));
|
| + (new CommandsHandler)->Register();
|
| }
|
| };
|
|
|
|
|