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

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: 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/FileEntry.cpp ('k') | Source/modules/filesystem/FileEntrySync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/FileEntrySync.h
diff --git a/Source/modules/filesystem/FileEntrySync.h b/Source/modules/filesystem/FileEntrySync.h
index ecf09e85f37e453c328673f1a797043c1cc39f4c..5de8f4c7787a886c54afba82719978bfb3a79a04 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,20 +43,20 @@ 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; }
PassRefPtrWillBeRawPtr<File> file(ExceptionState&);
- PassRefPtrWillBeRawPtr<FileWriterSync> createWriter(ExceptionState&);
+ FileWriterSync* createWriter(ExceptionState&);
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());
« no previous file with comments | « Source/modules/filesystem/FileEntry.cpp ('k') | Source/modules/filesystem/FileEntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698