diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 01:56:31 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 01:56:31 +0000 |
commit | ee94d452b99306d37fa8103981562125c31056c8 (patch) | |
tree | 0f3c88c17ba798899d1f0fa9c3d5cd0a14f36e2f /chrome/browser/bookmarks | |
parent | 5fa0629c3b50dfa3a52280a624db668332c5d121 (diff) | |
download | chromium_src-ee94d452b99306d37fa8103981562125c31056c8.zip chromium_src-ee94d452b99306d37fa8103981562125c31056c8.tar.gz chromium_src-ee94d452b99306d37fa8103981562125c31056c8.tar.bz2 |
Coverity: check result of file_util::CopyFile.
CID=5099
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/251023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_model_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model_unittest.cc b/chrome/browser/bookmarks/bookmark_model_unittest.cc index d0160e5..047ac25 100644 --- a/chrome/browser/bookmarks/bookmark_model_unittest.cc +++ b/chrome/browser/bookmarks/bookmark_model_unittest.cc @@ -780,7 +780,7 @@ TEST_F(BookmarkModelTestWithProfile2, MigrateFromDBToFileTest) { file_util::CreateDirectory(new_history_path); FilePath new_history_file = new_history_path.Append( chrome::kHistoryFilename); - file_util::CopyFile(old_history_path, new_history_file); + ASSERT_TRUE(file_util::CopyFile(old_history_path, new_history_file)); // Create the history service making sure it doesn't blow away the file we // just copied. |