| Index: chrome/browser/extensions/app_process_apitest.cc
|
| diff --git a/chrome/browser/extensions/app_process_apitest.cc b/chrome/browser/extensions/app_process_apitest.cc
|
| index a1899914767bfdea7c9007daae2eb0bf2edcccef..09a0e0c627419103b4eb66927141363d40944dfa 100644
|
| --- a/chrome/browser/extensions/app_process_apitest.cc
|
| +++ b/chrome/browser/extensions/app_process_apitest.cc
|
| @@ -49,8 +49,7 @@ class AppApiTest : public ExtensionApiTest {
|
| // as in the test apps manifests.
|
| GURL GetTestBaseURL(const std::string& test_directory) {
|
| GURL::Replacements replace_host;
|
| - std::string host_str("localhost"); // must stay in scope with replace_host
|
| - replace_host.SetHostStr(host_str);
|
| + replace_host.SetHostStr("localhost");
|
| GURL base_url = embedded_test_server()->GetURL(
|
| "/extensions/api_test/" + test_directory + "/");
|
| return base_url.ReplaceComponents(replace_host);
|
|
|