diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/track/vtt/VTTElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/track/vtt/VTTElement.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/track/vtt/VTTElement.h b/chromium/third_party/WebKit/Source/core/html/track/vtt/VTTElement.h index 2fe08c79abe..6705add645b 100644 --- a/chromium/third_party/WebKit/Source/core/html/track/vtt/VTTElement.h +++ b/chromium/third_party/WebKit/Source/core/html/track/vtt/VTTElement.h @@ -41,11 +41,11 @@ enum VTTNodeType { class VTTElement FINAL : public Element { public: - static PassRefPtr<VTTElement> create(const VTTNodeType, Document*); - static PassRefPtr<VTTElement> create(const QualifiedName&, Document*); - PassRefPtr<HTMLElement> createEquivalentHTMLElement(Document&); + static PassRefPtrWillBeRawPtr<VTTElement> create(const VTTNodeType, Document*); + static PassRefPtrWillBeRawPtr<VTTElement> create(const QualifiedName&, Document*); + PassRefPtrWillBeRawPtr<HTMLElement> createEquivalentHTMLElement(Document&); - virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() OVERRIDE; + virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChildren() OVERRIDE; void setVTTNodeType(VTTNodeType type) { m_webVTTNodeType = static_cast<unsigned>(type); } VTTNodeType webVTTNodeType() const { return static_cast<VTTNodeType>(m_webVTTNodeType); } @@ -79,7 +79,7 @@ private: AtomicString m_language; }; -DEFINE_NODE_TYPE_CASTS(VTTElement, isVTTElement()); +DEFINE_ELEMENT_TYPE_CASTS(VTTElement, isVTTElement()); } // namespace WebCore |