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

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

Issue 314333002: Enable Oilpan by default in modules/filesystem/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + be const-consistent in WebDOMFileSystem constructor 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/FileEntry.h
diff --git a/Source/modules/filesystem/FileEntry.h b/Source/modules/filesystem/FileEntry.h
index a7187131779d44b752c372fad07d4904efa60e4c..bde2c05e0b843611463ae541c1139fa652e6ae03 100644
--- a/Source/modules/filesystem/FileEntry.h
+++ b/Source/modules/filesystem/FileEntry.h
@@ -42,9 +42,9 @@ class FileWriterCallback;
class FileEntry FINAL : public Entry {
public:
- static PassRefPtrWillBeRawPtr<FileEntry> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static FileEntry* create(DOMFileSystemBase* fileSystem, const String& fullPath)
{
- return adoptRefWillBeNoop(new FileEntry(fileSystem, fullPath));
+ return new FileEntry(fileSystem, fullPath);
}
void createWriter(PassOwnPtr<FileWriterCallback>, PassOwnPtr<ErrorCallback> = nullptr);
@@ -55,7 +55,7 @@ public:
virtual void trace(Visitor*) OVERRIDE;
private:
- FileEntry(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
+ FileEntry(DOMFileSystemBase*, const String& fullPath);
};
DEFINE_TYPE_CASTS(FileEntry, Entry, entry, entry->isFile(), entry.isFile());

Powered by Google App Engine
This is Rietveld 408576698