| Index: chrome/browser/process_singleton_posix.cc
|
| diff --git a/chrome/browser/process_singleton_posix.cc b/chrome/browser/process_singleton_posix.cc
|
| index d6ba965e02c0b50a1d6313b29925df820801baa9..28e961f24b49198c2087003129481a58a559bf69 100644
|
| --- a/chrome/browser/process_singleton_posix.cc
|
| +++ b/chrome/browser/process_singleton_posix.cc
|
| @@ -969,16 +969,16 @@ bool ProcessSingleton::Create() {
|
|
|
| // Check that the directory was created with the correct permissions.
|
| int dir_mode = 0;
|
| - CHECK(base::GetPosixFilePermissions(socket_dir_.path(), &dir_mode) &&
|
| + CHECK(base::GetPosixFilePermissions(socket_dir_.GetPath(), &dir_mode) &&
|
| dir_mode == base::FILE_PERMISSION_USER_MASK)
|
| << "Temp directory mode is not 700: " << std::oct << dir_mode;
|
|
|
| // Setup the socket symlink and the two cookies.
|
| base::FilePath socket_target_path =
|
| - socket_dir_.path().Append(chrome::kSingletonSocketFilename);
|
| + socket_dir_.GetPath().Append(chrome::kSingletonSocketFilename);
|
| base::FilePath cookie(GenerateCookie());
|
| base::FilePath remote_cookie_path =
|
| - socket_dir_.path().Append(chrome::kSingletonCookieFilename);
|
| + socket_dir_.GetPath().Append(chrome::kSingletonCookieFilename);
|
| UnlinkPath(socket_path_);
|
| UnlinkPath(cookie_path_);
|
| if (!SymlinkPath(socket_target_path, socket_path_) ||
|
|
|