| Index: Source/core/fileapi/FileError.h
|
| diff --git a/Source/core/fileapi/FileError.h b/Source/core/fileapi/FileError.h
|
| index 26dd392577eccbb61a6e4dd1a8fdd0f78ac368a9..8f9a8658e6c4386b85dbcc9c36fc3dbf59c2b971 100644
|
| --- a/Source/core/fileapi/FileError.h
|
| +++ b/Source/core/fileapi/FileError.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| #include "core/dom/DOMError.h"
|
| +#include "heap/Handle.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
|
|
| @@ -70,7 +71,10 @@ public:
|
| static const char syntaxErrorMessage[];
|
| static const char typeMismatchErrorMessage[];
|
|
|
| - static PassRefPtr<FileError> create(ErrorCode code) { return adoptRef(new FileError(code)); }
|
| + static PassRefPtrWillBeRawPtr<FileError> create(ErrorCode code)
|
| + {
|
| + return adoptRefWillBeNoop(new FileError(code));
|
| + }
|
|
|
| ErrorCode code() const { return m_code; }
|
|
|
|
|