Index: chrome/browser/process_singleton_mac_unittest.cc |
diff --git a/chrome/browser/process_singleton_mac_unittest.cc b/chrome/browser/process_singleton_mac_unittest.cc |
index bdbeff6d99d08bf9a4e2ac1d0c8e825185c4334b..978f6f971869984299b947dfcfb1cb10b620b480 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); |
} |