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

Unified Diff: Source/modules/filesystem/FileWriter.cpp

Issue 314333002: Enable Oilpan by default in modules/filesystem/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove consts from conversion ctor + copy assignment op Created 6 years, 6 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/FileWriter.h ('k') | Source/modules/filesystem/FileWriter.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/modules/filesystem/FileWriter.h ('k') | Source/modules/filesystem/FileWriter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698