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

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

Issue 2393633005: reflow comments in core/imagebitmap,core/html/track (Closed)
Patch Set: Created 4 years, 2 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/CueTimeline.h
diff --git a/third_party/WebKit/Source/core/html/track/CueTimeline.h b/third_party/WebKit/Source/core/html/track/CueTimeline.h
index 1ffd6cd8efe3d12e08039290416757f7fcfb010a..34c920007e70e13b6530e12af441b1a37db318c2 100644
--- a/third_party/WebKit/Source/core/html/track/CueTimeline.h
+++ b/third_party/WebKit/Source/core/html/track/CueTimeline.h
@@ -17,10 +17,10 @@ class HTMLMediaElement;
class TextTrackCueList;
// TODO(Oilpan): This needs to be PODIntervalTree<double, Member<TextTrackCue>>.
-// However, it is not easy to move PODIntervalTree to the heap (for a C++-template
-// reason) so we leave it as a raw pointer at the moment. This is safe
-// because CueTimeline and TextTrackCue are guaranteed to die at the same time
-// when the owner HTMLMediaElement dies. Thus the raw TextTrackCue* cannot
+// However, it is not easy to move PODIntervalTree to the heap (for a
+// C++-template reason) so we leave it as a raw pointer at the moment. This is
+// safe because CueTimeline and TextTrackCue are guaranteed to die at the same
+// time when the owner HTMLMediaElement dies. Thus the raw TextTrackCue* cannot
// become stale pointers.
typedef PODIntervalTree<double, TextTrackCue*> CueIntervalTree;
typedef CueIntervalTree::IntervalType CueInterval;

Powered by Google App Engine
This is Rietveld 408576698