From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/fileapi/FileException.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'Source/WebCore/fileapi/FileException.h') diff --git a/Source/WebCore/fileapi/FileException.h b/Source/WebCore/fileapi/FileException.h index ccf7982df..dc2d15b9a 100644 --- a/Source/WebCore/fileapi/FileException.h +++ b/Source/WebCore/fileapi/FileException.h @@ -28,10 +28,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef FileException_h -#define FileException_h - -#if ENABLE(BLOB) +#pragma once #include "ExceptionBase.h" @@ -39,9 +36,9 @@ namespace WebCore { class FileException : public ExceptionBase { public: - static PassRefPtr create(const ExceptionCodeDescription& description) + static Ref create(const ExceptionCodeDescription& description) { - return adoptRef(new FileException(description)); + return adoptRef(*new FileException(description)); } static const int FileExceptionOffset = 1100; @@ -79,7 +76,3 @@ private: }; } // namespace WebCore - -#endif // ENABLE(BLOB) - -#endif // FileException_h -- cgit v1.2.1