summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gears_integration.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 23:29:25 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-17 23:29:25 +0000
commit0cbd2d367068d9b5cc00cf39238f0277cef5ba15 (patch)
tree6ffbe1b5797b38176f8cb338ad875be1761d0d65 /chrome/browser/gears_integration.h
parentcb000cef90e568bd5192a230e7794113169b70a2 (diff)
downloadchromium_src-0cbd2d367068d9b5cc00cf39238f0277cef5ba15.zip
chromium_src-0cbd2d367068d9b5cc00cf39238f0277cef5ba15.tar.gz
chromium_src-0cbd2d367068d9b5cc00cf39238f0277cef5ba15.tar.bz2
Check the file handle for NULL before using it to write. Under some
circumstances this might be NULL if we opened the file after initialization and it failed. In this case, we should just silently fail rather than throwing an invalid parameter exception. I'm not 100% sure this will fix the bug below, I did this by inspection. BUG=7566 Review URL: http://codereview.chromium.org/21425 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gears_integration.h')
0 files changed, 0 insertions, 0 deletions