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

Unified Diff: Source/modules/filesystem/DirectoryReaderBase.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/DirectoryReader.idl ('k') | Source/modules/filesystem/DirectoryReaderSync.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/DirectoryReaderBase.h
diff --git a/Source/modules/filesystem/DirectoryReaderBase.h b/Source/modules/filesystem/DirectoryReaderBase.h
index c2b27569eee961b09440111961c4e49c2c4a7f25..7b3e06ff7c6cd0ba43683589e3d0db8911d76320 100644
--- a/Source/modules/filesystem/DirectoryReaderBase.h
+++ b/Source/modules/filesystem/DirectoryReaderBase.h
@@ -33,12 +33,11 @@
#include "modules/filesystem/DOMFileSystemBase.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
-class DirectoryReaderBase : public RefCountedWillBeGarbageCollectedFinalized<DirectoryReaderBase> {
+class DirectoryReaderBase : public GarbageCollectedFinalized<DirectoryReaderBase> {
public:
DOMFileSystemBase* filesystem() const { return m_fileSystem.get(); }
void setHasMoreEntries(bool hasMoreEntries) { m_hasMoreEntries = hasMoreEntries; }
@@ -51,14 +50,14 @@ public:
}
protected:
- DirectoryReaderBase(PassRefPtrWillBeRawPtr<DOMFileSystemBase> fileSystem, const String& fullPath)
+ DirectoryReaderBase(DOMFileSystemBase* fileSystem, const String& fullPath)
: m_fileSystem(fileSystem)
, m_fullPath(fullPath)
, m_hasMoreEntries(true)
{
}
- RefPtrWillBeMember<DOMFileSystemBase> m_fileSystem;
+ Member<DOMFileSystemBase> m_fileSystem;
// This is a virtual path.
String m_fullPath;
« no previous file with comments | « Source/modules/filesystem/DirectoryReader.idl ('k') | Source/modules/filesystem/DirectoryReaderSync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698