| Index: third_party/WebKit/Source/core/html/track/vtt/VTTCue.h
|
| diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTCue.h b/third_party/WebKit/Source/core/html/track/vtt/VTTCue.h
|
| index 0b495c2108604cd433384440a2ce9722cd3e26c2..d6bcf6e97a367261a725640da922ba9d8b6612ca 100644
|
| --- a/third_party/WebKit/Source/core/html/track/vtt/VTTCue.h
|
| +++ b/third_party/WebKit/Source/core/html/track/vtt/VTTCue.h
|
| @@ -56,9 +56,9 @@ struct VTTDisplayParameters {
|
|
|
| class VTTCueBox final : public HTMLDivElement {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<VTTCueBox> create(Document& document)
|
| + static RawPtr<VTTCueBox> create(Document& document)
|
| {
|
| - return adoptRefWillBeNoop(new VTTCueBox(document));
|
| + return new VTTCueBox(document);
|
| }
|
|
|
| void applyCSSProperties(const VTTDisplayParameters&);
|
| @@ -110,7 +110,7 @@ public:
|
| // Applies CSS override style from user settings.
|
| void applyUserOverrideCSSProperties();
|
|
|
| - PassRefPtrWillBeRawPtr<DocumentFragment> getCueAsHTML();
|
| + RawPtr<DocumentFragment> getCueAsHTML();
|
|
|
| const String& regionId() const { return m_regionId; }
|
| void setRegionId(const String&);
|
| @@ -154,7 +154,7 @@ private:
|
|
|
| Document& document() const;
|
|
|
| - PassRefPtrWillBeRawPtr<VTTCueBox> getDisplayTree();
|
| + RawPtr<VTTCueBox> getDisplayTree();
|
|
|
| void cueDidChange() override;
|
|
|
| @@ -187,9 +187,9 @@ private:
|
| CueAlignment m_cueAlignment;
|
| String m_regionId;
|
|
|
| - RefPtrWillBeMember<DocumentFragment> m_vttNodeTree;
|
| - RefPtrWillBeMember<HTMLDivElement> m_cueBackgroundBox;
|
| - RefPtrWillBeMember<VTTCueBox> m_displayTree;
|
| + Member<DocumentFragment> m_vttNodeTree;
|
| + Member<HTMLDivElement> m_cueBackgroundBox;
|
| + Member<VTTCueBox> m_displayTree;
|
|
|
| bool m_snapToLines : 1;
|
| bool m_displayTreeShouldChange : 1;
|
|
|