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

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

Issue 314333002: Enable Oilpan by default in modules/filesystem/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidy up 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
Index: Source/modules/filesystem/FileEntrySync.h
diff --git a/Source/modules/filesystem/FileEntrySync.h b/Source/modules/filesystem/FileEntrySync.h
index ecf09e85f37e453c328673f1a797043c1cc39f4c..5c61b6675770bb5cc6c686c423b388a70a1757d2 100644
--- a/Source/modules/filesystem/FileEntrySync.h
+++ b/Source/modules/filesystem/FileEntrySync.h
@@ -33,7 +33,6 @@
#include "modules/filesystem/EntrySync.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -44,9 +43,9 @@ class FileWriterSync;
class FileEntrySync FINAL : public EntrySync {
public:
- static PassRefPtrWillBeRawPtr<FileEntrySync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static FileEntrySync* create(DOMFileSystemBase* fileSystem, const String& fullPath)
{
- return adoptRefWillBeNoop(new FileEntrySync(fileSystem, fullPath));
+ return new FileEntrySync(fileSystem, fullPath);
}
virtual bool isFile() const OVERRIDE { return true; }
@@ -57,7 +56,7 @@ public:
virtual void trace(Visitor*) OVERRIDE;
private:
- FileEntrySync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
+ FileEntrySync(DOMFileSystemBase*, const String& fullPath);
};
DEFINE_TYPE_CASTS(FileEntrySync, EntrySync, entry, entry->isFile(), entry.isFile());

Powered by Google App Engine
This is Rietveld 408576698