| Index: chrome/browser/extensions/extension_test_api.cc
|
| diff --git a/chrome/browser/extensions/extension_test_api.cc b/chrome/browser/extensions/extension_test_api.cc
|
| index 7afd5ebc111b1aecf633c4e92beabb8f0c576a27..5d93deae5be80332104ab0a16668375d7a1393fa 100644
|
| --- a/chrome/browser/extensions/extension_test_api.cc
|
| +++ b/chrome/browser/extensions/extension_test_api.cc
|
| @@ -93,17 +93,23 @@ void ExtensionTestSendMessageFunction::Reply(const std::string& message) {
|
| // static
|
| void ExtensionTestGetConfigFunction::set_test_config_state(
|
| DictionaryValue* value) {
|
| - TestConfigState* test_config_state = Singleton<TestConfigState>::get();
|
| + TestConfigState* test_config_state = TestConfigState::GetInstance();
|
| test_config_state->set_config_state(value);
|
| }
|
|
|
| ExtensionTestGetConfigFunction::TestConfigState::TestConfigState()
|
| : config_state_(NULL) {}
|
|
|
| +// static
|
| +ExtensionTestGetConfigFunction::TestConfigState*
|
| +ExtensionTestGetConfigFunction::TestConfigState::GetInstance() {
|
| + return Singleton<TestConfigState>::get();
|
| +}
|
| +
|
| ExtensionTestGetConfigFunction::~ExtensionTestGetConfigFunction() {}
|
|
|
| bool ExtensionTestGetConfigFunction::RunImpl() {
|
| - TestConfigState* test_config_state = Singleton<TestConfigState>::get();
|
| + TestConfigState* test_config_state = TestConfigState::GetInstance();
|
|
|
| if (!test_config_state->config_state()) {
|
| error_ = kNoTestConfigDataError;
|
|
|