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

Unified Diff: third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp

Issue 2682333002: Implement VTTCue.region and sync the VTTRegion interface (Closed)
Patch Set: Add DCHECK Created 3 years, 10 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/InbandTextTrack.cpp
diff --git a/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp b/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
index 00f64ef885158274e954e245218d1123bd2b49f4..fd4b716389d081c497b0dc039b4e6e74f4306867 100644
--- a/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
+++ b/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
@@ -97,7 +97,7 @@ void InbandTextTrack::addWebVTTCue(double start,
DCHECK(owner);
VTTCue* cue = VTTCue::create(owner->document(), start, end, content);
cue->setId(id);
- cue->parseSettings(settings);
+ cue->parseSettings(nullptr, settings);
addCue(cue);
}

Powered by Google App Engine
This is Rietveld 408576698