Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / fileapi / FileList.h
index 27d213d..c084737 100644 (file)
 
 namespace blink {
 
-class FileList FINAL : public RefCountedWillBeGarbageCollected<FileList>, public ScriptWrappable {
+class FileList final : public GarbageCollected<FileList>, public ScriptWrappable {
     DEFINE_WRAPPERTYPEINFO();
 public:
-    static PassRefPtrWillBeRawPtr<FileList> create()
+    static FileList* create()
     {
-        return adoptRefWillBeNoop(new FileList);
+        return new FileList;
     }
 
     unsigned length() const { return m_files.size(); }
@@ -49,7 +49,7 @@ public:
 
     bool isEmpty() const { return m_files.isEmpty(); }
     void clear() { m_files.clear(); }
-    void append(PassRefPtrWillBeRawPtr<File> file) { m_files.append(file); }
+    void append(File* file) { m_files.append(file); }
     Vector<String> pathsForUserVisibleFiles() const;
 
     void trace(Visitor*);
@@ -57,7 +57,7 @@ public:
 private:
     FileList();
 
-    WillBeHeapVector<RefPtrWillBeMember<File> > m_files;
+    HeapVector<Member<File> > m_files;
 };
 
 } // namespace blink