| Index: chrome/app/keystone_glue_unittest.mm
|
| ===================================================================
|
| --- chrome/app/keystone_glue_unittest.mm (revision 30194)
|
| +++ chrome/app/keystone_glue_unittest.mm (working copy)
|
| @@ -150,16 +150,12 @@
|
| Method loadMethod_ = class_getInstanceMethod([KeystoneGlue class], lks);
|
| method_setImplementation(loadMethod_, newLoadImp_);
|
|
|
| - // Dump any existing KeystoneGlue shared instance so that a new one can be
|
| - // created with the mocked methods.
|
| - [KeystoneGlue releaseDefaultKeystoneGlue];
|
| KeystoneGlue *glue = [KeystoneGlue defaultKeystoneGlue];
|
| ASSERT_TRUE(glue);
|
|
|
| // Fix back up the class to the way we found it.
|
| method_setImplementation(infoMethod_, oldInfoImp_);
|
| method_setImplementation(loadMethod_, oldLoadImp_);
|
| - [KeystoneGlue releaseDefaultKeystoneGlue];
|
| }
|
|
|
| TEST_F(KeystoneGlueTest, BasicUse) {
|
|
|