projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
core
/
html
/
track
/
vtt
/
VTTRegionList.h
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
(file)
--- 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 {
namespace WebCore {
-class VTTRegionList
: public RefCoun
ted<VTTRegionList> {
+class VTTRegionList
FINAL : public RefCountedWillBeGarbageCollec
ted<VTTRegionList> {
public:
public:
- static PassRefPtr<VTTRegionList> create()
+ static PassRefPtr
WillBeRawPtr
<VTTRegionList> create()
{
{
- return adoptRef(new VTTRegionList());
+ return adoptRef
WillBeNoop
(new VTTRegionList());
}
}
- ~VTTRegionList() { }
-
unsigned long length() const;
VTTRegion* item(unsigned index) const;
VTTRegion* getRegionById(const String&) const;
unsigned long length() const;
VTTRegion* item(unsigned index) const;
VTTRegion* getRegionById(const String&) const;
- void add(PassRefPtr<VTTRegion>);
+ void add(PassRefPtr
WillBeRawPtr
<VTTRegion>);
bool remove(VTTRegion*);
bool remove(VTTRegion*);
+ void trace(Visitor*);
+
private:
VTTRegionList();
private:
VTTRegionList();
- void clear();
-
Vector<RefPt
r<VTTRegion> > m_list;
+
WillBeHeapVector<RefPtrWillBeMembe
r<VTTRegion> > m_list;
};
} // namespace WebCore
};
} // namespace WebCore