Changeset 86799 in webkit
- Timestamp:
- May 18, 2011 3:17:13 PM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r86746 r86799 1 2011-05-18 Brett Wilson <brettw@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Don't create empty file objects if no download file path is specified. 6 https://bugs.webkit.org/show_bug.cgi?id=60798 7 8 * src/WebURLResponse.cpp: 9 (WebKit::WebURLResponse::setDownloadFilePath): 10 1 11 2011-05-17 Mikhail Naganov <mnaganov@chromium.org> 2 12 -
trunk/Source/WebKit/chromium/src/WebURLResponse.cpp
r86164 r86799 374 374 void WebURLResponse::setDownloadFilePath(const WebString& downloadFilePath) 375 375 { 376 m_private->m_resourceResponse->setDownloadedFile( File::create(downloadFilePath));376 m_private->m_resourceResponse->setDownloadedFile(downloadFilePath.isEmpty() ? 0 : File::create(downloadFilePath)); 377 377 } 378 378
Note: See TracChangeset
for help on using the changeset viewer.