Handle errors properly in FileUtilProxy::CreateTemporary.
If creating the temporary file failed, don't try to open it. If we can't open it for some reason, delete the temporary so the caller can assume strong exception safety and not have to delete the file on error. BUG=none Review URL: https://codereview.chromium.org/183003009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255767 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment