Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: third_party/WebKit/Source/core/html/track/vtt/VTTCue.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/core/html/track/TrackListBase.h ('k') | third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698