summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton_mac_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/process_singleton_mac_unittest.cc')
-rw-r--r--chrome/browser/process_singleton_mac_unittest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/process_singleton_mac_unittest.cc b/chrome/browser/process_singleton_mac_unittest.cc
index bdbeff6..978f6f9 100644
--- a/chrome/browser/process_singleton_mac_unittest.cc
+++ b/chrome/browser/process_singleton_mac_unittest.cc
@@ -25,8 +25,7 @@ class ProcessSingletonMacTest : public PlatformTest {
// Put the lock in a temporary directory. Doesn't need to be a
// full profile to test this code.
- temp_dir_.CreateUniqueTempDir();
- ASSERT_TRUE(temp_dir_.IsValid());
+ ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
lock_path_ = temp_dir_.path().Append(chrome::kSingletonLockFilename);
}