| 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;
|
|
|