diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 17:27:47 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-20 17:27:47 +0000 |
commit | b77280cd79ae5d01139278e5d1c4632a488a4d2a (patch) | |
tree | 72ebb7c527ac596abebed151673d3cac2894f421 | |
parent | d67c249a2ab9c2cf7a8b1c96522c763e9345da32 (diff) | |
download | chromium_src-b77280cd79ae5d01139278e5d1c4632a488a4d2a.zip chromium_src-b77280cd79ae5d01139278e5d1c4632a488a4d2a.tar.gz chromium_src-b77280cd79ae5d01139278e5d1c4632a488a4d2a.tar.bz2 |
don't UMR if GetFileSize() fails.
Review URL: http://codereview.chromium.org/42417
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12191 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/url_request/url_request_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc index 77f08ef..e134208 100644 --- a/net/url_request/url_request_unittest.cc +++ b/net/url_request/url_request_unittest.cc @@ -533,8 +533,8 @@ TEST_F(URLRequestTest, FileTest) { MessageLoop::current()->Run(); - int64 file_size; - file_util::GetFileSize(app_path, &file_size); + int64 file_size = -1; + EXPECT_TRUE(file_util::GetFileSize(app_path, &file_size)); EXPECT_TRUE(!r.is_pending()); EXPECT_EQ(1, d.response_started_count()); |