| Index: components/browser_watcher/stability_debugging_win_unittest.cc
|
| diff --git a/components/browser_watcher/stability_debugging_win_unittest.cc b/components/browser_watcher/stability_debugging_win_unittest.cc
|
| index d1920109a061bd65363bde9d654f57ca284f7438..7184ad7a323195c489e30061e6b579f6db19b136 100644
|
| --- a/components/browser_watcher/stability_debugging_win_unittest.cc
|
| +++ b/components/browser_watcher/stability_debugging_win_unittest.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/browser_watcher/stability_debugging_win.h"
|
| +#include "components/browser_watcher/stability_debugging.h"
|
|
|
| #include "base/files/file_enumerator.h"
|
| #include "base/files/file_path.h"
|
| @@ -36,8 +36,9 @@ TEST_F(StabilityDebuggingWinMultiProcTest, GetStabilityFileForProcessTest) {
|
| EXPECT_EQ(stability_path, stability_path_two);
|
|
|
| // Ensure a different process has a different stability path.
|
| + base::SpawnChildResult spawn_result = SpawnChild("DummyProcess");
|
| base::FilePath stability_path_other;
|
| - ASSERT_TRUE(GetStabilityFileForProcess(SpawnChild("DummyProcess"), empty_path,
|
| + ASSERT_TRUE(GetStabilityFileForProcess(spawn_result.process, empty_path,
|
| &stability_path_other));
|
| EXPECT_NE(stability_path, stability_path_other);
|
| }
|
| @@ -51,7 +52,7 @@ TEST(StabilityDebuggingWinTest,
|
|
|
| base::ScopedTempDir temp_dir;
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
| - base::FilePath user_data_dir = temp_dir.path();
|
| + base::FilePath user_data_dir = temp_dir.GetPath();
|
|
|
| // Create the stability directory.
|
| base::FilePath stability_dir = GetStabilityDir(user_data_dir);
|
|
|