| Index: chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc
|
| diff --git a/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc b/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc
|
| index 2fc111a9334cfe1419aedd424b8ba4d8ca1095ab..ae6f09715ba7c9ee08a5dc2f450b4d80f23aeeea 100644
|
| --- a/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc
|
| +++ b/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc
|
| @@ -54,14 +54,14 @@ void NaClGdbDebugStubTest::RunDebugStubTest(const std::string& nacl_module,
|
| const std::string& test_name) {
|
| base::Process test_script;
|
| std::unique_ptr<base::Environment> env(base::Environment::Create());
|
| - nacl::NaClBrowser::GetInstance()->SetGdbDebugStubPortListener(
|
| - base::Bind(&NaClGdbDebugStubTest::StartTestScript,
|
| - base::Unretained(this), &test_script, test_name));
|
| + nacl::NaClBrowser::SetGdbDebugStubPortListenerForTest(
|
| + base::Bind(&NaClGdbDebugStubTest::StartTestScript, base::Unretained(this),
|
| + &test_script, test_name));
|
| // Turn on debug stub logging.
|
| env->SetVar("NACLVERBOSITY", "1");
|
| RunTestViaHTTP(nacl_module);
|
| env->UnSetVar("NACLVERBOSITY");
|
| - nacl::NaClBrowser::GetInstance()->ClearGdbDebugStubPortListener();
|
| + nacl::NaClBrowser::ClearGdbDebugStubPortListenerForTest();
|
| int exit_code;
|
| test_script.WaitForExit(&exit_code);
|
| EXPECT_EQ(0, exit_code);
|
|
|