X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2Ftrack%2Fvtt%2FVTTRegionList.h;h=edb87d601b328ecb45c14655fdcf5908b777fba4;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=35e1b8e8d47f66fa765203dffe8eea3034347f5a;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/track/vtt/VTTRegionList.h b/src/third_party/WebKit/Source/core/html/track/vtt/VTTRegionList.h index 35e1b8e..edb87d6 100644 --- a/src/third_party/WebKit/Source/core/html/track/vtt/VTTRegionList.h +++ b/src/third_party/WebKit/Source/core/html/track/vtt/VTTRegionList.h @@ -33,28 +33,27 @@ namespace WebCore { -class VTTRegionList : public RefCounted { +class VTTRegionList FINAL : public RefCountedWillBeGarbageCollected { public: - static PassRefPtr create() + static PassRefPtrWillBeRawPtr create() { - return adoptRef(new VTTRegionList()); + return adoptRefWillBeNoop(new VTTRegionList()); } - ~VTTRegionList() { } - unsigned long length() const; VTTRegion* item(unsigned index) const; VTTRegion* getRegionById(const String&) const; - void add(PassRefPtr); + void add(PassRefPtrWillBeRawPtr); bool remove(VTTRegion*); + void trace(Visitor*); + private: VTTRegionList(); - void clear(); - Vector > m_list; + WillBeHeapVector > m_list; }; } // namespace WebCore