Index: Source/modules/filesystem/FileWriter.cpp |
diff --git a/Source/modules/filesystem/FileWriter.cpp b/Source/modules/filesystem/FileWriter.cpp |
index b352f4c512a96bd7dab48030de4d7517e92a28e0..d090bba57430d089ba773931455be78d41d21467 100644 |
--- a/Source/modules/filesystem/FileWriter.cpp |
+++ b/Source/modules/filesystem/FileWriter.cpp |
@@ -44,11 +44,11 @@ namespace WebCore { |
static const int kMaxRecursionDepth = 3; |
static const double progressNotificationIntervalMS = 50; |
-PassRefPtrWillBeRawPtr<FileWriter> FileWriter::create(ExecutionContext* context) |
+FileWriter* FileWriter::create(ExecutionContext* context) |
{ |
- RefPtrWillBeRawPtr<FileWriter> fileWriter(adoptRefWillBeRefCountedGarbageCollected(new FileWriter(context))); |
+ FileWriter* fileWriter = adoptRefCountedGarbageCollected(new FileWriter(context)); |
fileWriter->suspendIfNeeded(); |
- return fileWriter.release(); |
+ return fileWriter; |
} |
FileWriter::FileWriter(ExecutionContext* context) |