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

Unified Diff: Source/modules/filesystem/FileWriterSync.h

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 9 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/modules/filesystem/FileWriterBase.h ('k') | Source/modules/filesystem/FileWriterSync.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/FileWriterSync.h
diff --git a/Source/modules/filesystem/FileWriterSync.h b/Source/modules/filesystem/FileWriterSync.h
index 12f4c326e0cceea8c643c9a4b75e7e6a467bdce5..259c484c9b8090a86b79c861cdb6db8101dfae28 100644
--- a/Source/modules/filesystem/FileWriterSync.h
+++ b/Source/modules/filesystem/FileWriterSync.h
@@ -33,6 +33,7 @@
#include "bindings/v8/ScriptWrappable.h"
#include "core/fileapi/FileError.h"
+#include "heap/Handle.h"
#include "modules/filesystem/FileWriterBase.h"
#include "public/platform/WebFileWriterClient.h"
#include "wtf/PassRefPtr.h"
@@ -42,11 +43,11 @@ namespace WebCore {
class Blob;
class ExceptionState;
-class FileWriterSync FINAL : public ScriptWrappable, public FileWriterBase, public blink::WebFileWriterClient {
+class FileWriterSync FINAL : public FileWriterBase, public ScriptWrappable, public blink::WebFileWriterClient {
public:
- static PassRefPtr<FileWriterSync> create()
+ static PassRefPtrWillBeRawPtr<FileWriterSync> create()
{
- return adoptRef(new FileWriterSync());
+ return adoptRefWillBeRefCountedGarbageCollected(new FileWriterSync());
}
virtual ~FileWriterSync();
« no previous file with comments | « Source/modules/filesystem/FileWriterBase.h ('k') | Source/modules/filesystem/FileWriterSync.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698