summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton_mac_unittest.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 14:20:12 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 14:20:12 +0000
commit2d57f5d07890c173c79432b64e215b6bb049444a (patch)
treee84880ad33d40818ff47a2ac72ac22a91c8b61ca /chrome/browser/process_singleton_mac_unittest.cc
parent7a0c14d18c721f08332eaab1094e918027e0b132 (diff)
downloadchromium_src-2d57f5d07890c173c79432b64e215b6bb049444a.zip
chromium_src-2d57f5d07890c173c79432b64e215b6bb049444a.tar.gz
chromium_src-2d57f5d07890c173c79432b64e215b6bb049444a.tar.bz2
Added WARN_UNUSED_RESULT to ScopedTempDir methods.
BUG=NONE TEST=all targets build, tests pass. Review URL: http://codereview.chromium.org/6042009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71322 0039d316-1c4b-4281-b951-d872f2087c98
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);
}