Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(922)

Unified Diff: Source/core/fileapi/FileError.h

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/fileapi/File.cpp ('k') | Source/core/fileapi/FileList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « Source/core/fileapi/File.cpp ('k') | Source/core/fileapi/FileList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698