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

Side by Side Diff: Source/core/html/track/LoadableTextTrack.cpp

Issue 352603002: Remove the unused Document& argument to the TextTrack constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/track/InbandTextTrack.cpp ('k') | Source/core/html/track/TextTrack.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 #include "core/html/HTMLMediaElement.h" 30 #include "core/html/HTMLMediaElement.h"
31 #include "core/html/HTMLTrackElement.h" 31 #include "core/html/HTMLTrackElement.h"
32 #include "core/html/track/TextTrackCueList.h" 32 #include "core/html/track/TextTrackCueList.h"
33 #include "core/html/track/vtt/VTTRegionList.h" 33 #include "core/html/track/vtt/VTTRegionList.h"
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 using namespace HTMLNames; 37 using namespace HTMLNames;
38 38
39 LoadableTextTrack::LoadableTextTrack(HTMLTrackElement* track) 39 LoadableTextTrack::LoadableTextTrack(HTMLTrackElement* track)
40 : TextTrack(track->document(), emptyAtom, emptyAtom, emptyAtom, emptyAtom, T rackElement) 40 : TextTrack(emptyAtom, emptyAtom, emptyAtom, emptyAtom, TrackElement)
41 , m_trackElement(track) 41 , m_trackElement(track)
42 , m_loadTimer(this, &LoadableTextTrack::loadTimerFired) 42 , m_loadTimer(this, &LoadableTextTrack::loadTimerFired)
43 , m_isDefault(false) 43 , m_isDefault(false)
44 { 44 {
45 } 45 }
46 46
47 LoadableTextTrack::~LoadableTextTrack() 47 LoadableTextTrack::~LoadableTextTrack()
48 { 48 {
49 #if !ENABLE(OILPAN) 49 #if !ENABLE(OILPAN)
50 ASSERT(!m_trackElement); 50 ASSERT(!m_trackElement);
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 172 }
173 173
174 void LoadableTextTrack::trace(Visitor* visitor) 174 void LoadableTextTrack::trace(Visitor* visitor)
175 { 175 {
176 visitor->trace(m_trackElement); 176 visitor->trace(m_trackElement);
177 visitor->trace(m_loader); 177 visitor->trace(m_loader);
178 TextTrack::trace(visitor); 178 TextTrack::trace(visitor);
179 } 179 }
180 180
181 } // namespace WebCore 181 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/track/InbandTextTrack.cpp ('k') | Source/core/html/track/TextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698