summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 13:53:53 +0000
committeravi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-24 13:53:53 +0000
commite96833357a87a977afb7f171729e0d7c615e5043 (patch)
treeefceda0715547ea356ec5ae39a4e782ceb148cb2
parent4391344f31e4913bbf590a9320c215672c3c53c1 (diff)
downloadchromium_src-e96833357a87a977afb7f171729e0d7c615e5043.zip
chromium_src-e96833357a87a977afb7f171729e0d7c615e5043.tar.gz
chromium_src-e96833357a87a977afb7f171729e0d7c615e5043.tar.bz2
Reverting r14328 for the linux file; I shouldn't be fixing things that aren't broken.
Review URL: http://codereview.chromium.org/92084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14423 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/chrome_process_util_linux.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/test/chrome_process_util_linux.cc b/chrome/test/chrome_process_util_linux.cc
index 9bcb0ad..f1c7601 100644
--- a/chrome/test/chrome_process_util_linux.cc
+++ b/chrome/test/chrome_process_util_linux.cc
@@ -37,10 +37,7 @@ base::ProcessId ChromeBrowserProcessId(const FilePath& data_dir) {
int pid;
if (!StringToInt(trimmed_output, &pid)) {
- // In normal use we'd expect to find what we're looking for, but in the unit
- // test for chrome_process_util we're explicitly called when there is no
- // matching process to find. Just return -1 and let our callers realize
- // something's wrong if they really expect to find a target.
+ LOG(FATAL) << "Unexpected fuser output: " << fuser_output;
return -1;
}
return pid;