Generate toFile() instead of manual functions.
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Aug 2014 06:43:16 +0000 (06:43 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Aug 2014 06:43:16 +0000 (06:43 +0000)
commite91f2981bb8a587f7964c6d858f913a85c71dbc4
tree5d246b3172d609469ec3076eb5585c67f2b51036
parent99b48ee5b109e3b9b35863287f9411487b74e617
Generate toFile() instead of manual functions.
https://bugs.webkit.org/show_bug.cgi?id=136207

Reviewed by Darin Adler.

No new tests, no behavior changes.

* fileapi/Blob.h: Define BLOB_TYPE_CASTS.
* fileapi/File.h: Use BLOB_TYPE_CASTS to generate toFile().
(WebCore::toFile): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/fileapi/Blob.h
Source/WebCore/fileapi/File.h