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/FileError.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'Source/WebCore/fileapi/FileError.h') diff --git a/Source/WebCore/fileapi/FileError.h b/Source/WebCore/fileapi/FileError.h index 7678a5154..5bc57aa9a 100644 --- a/Source/WebCore/fileapi/FileError.h +++ b/Source/WebCore/fileapi/FileError.h @@ -28,12 +28,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef FileError_h -#define FileError_h +#pragma once -#if ENABLE(BLOB) - -#include +#include #include namespace WebCore { @@ -56,7 +53,7 @@ public: PATH_EXISTS_ERR = 12, }; - static PassRefPtr create(ErrorCode code) { return adoptRef(new FileError(code)); } + static Ref create(ErrorCode code) { return adoptRef(*new FileError(code)); } ErrorCode code() const { return m_code; } @@ -69,7 +66,3 @@ private: }; } // namespace WebCore - -#endif // ENABLE(BLOB) - -#endif // FileError_h -- cgit v1.2.1