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

Unified Diff: Source/modules/filesystem/DirectoryReaderSync.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/DirectoryReaderBase.h ('k') | Source/modules/filesystem/DirectoryReaderSync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryReaderSync.h
diff --git a/Source/modules/filesystem/DirectoryReaderSync.h b/Source/modules/filesystem/DirectoryReaderSync.h
index 9154e671889dd9550a717b21bc8f9c3b2f0bbe39..5dd42642952fa5dbbe8f6e56bada12e5aa425476 100644
--- a/Source/modules/filesystem/DirectoryReaderSync.h
+++ b/Source/modules/filesystem/DirectoryReaderSync.h
@@ -35,8 +35,6 @@
#include "core/fileapi/FileError.h"
#include "modules/filesystem/DirectoryReaderBase.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
-#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -44,13 +42,13 @@ namespace WebCore {
class EntrySync;
class ExceptionState;
-typedef WillBeHeapVector<RefPtrWillBeMember<EntrySync> > EntrySyncHeapVector;
+typedef HeapVector<Member<EntrySync> > EntrySyncHeapVector;
class DirectoryReaderSync : public DirectoryReaderBase, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<DirectoryReaderSync> create(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ static DirectoryReaderSync* create(DOMFileSystemBase* fileSystem, const String& fullPath)
{
- return adoptRefWillBeNoop(new DirectoryReaderSync(fileSystem, fullPath));
+ return new DirectoryReaderSync(fileSystem, fullPath);
}
virtual ~DirectoryReaderSync();
@@ -73,7 +71,7 @@ private:
class EntriesCallbackHelper;
class ErrorCallbackHelper;
- DirectoryReaderSync(PassRefPtrWillBeRawPtr<DOMFileSystemBase>, const String& fullPath);
+ DirectoryReaderSync(DOMFileSystemBase*, const String& fullPath);
int m_callbacksId;
EntrySyncHeapVector m_entries;
« no previous file with comments | « Source/modules/filesystem/DirectoryReaderBase.h ('k') | Source/modules/filesystem/DirectoryReaderSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698