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

Side by Side Diff: Source/core/html/track/vtt/VTTCue.h

Issue 324073002: Oilpan: Switch RefCountedGarbageCollected to GarbageCollectedFinalized for Node. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and update Node base class list 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. 2 * Copyright (c) 2013, Opera Software ASA. 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 27 matching lines...) Expand all
38 38
39 class Document; 39 class Document;
40 class ExecutionContext; 40 class ExecutionContext;
41 class VTTCue; 41 class VTTCue;
42 class VTTScanner; 42 class VTTScanner;
43 43
44 class VTTCueBox FINAL : public HTMLDivElement { 44 class VTTCueBox FINAL : public HTMLDivElement {
45 public: 45 public:
46 static PassRefPtrWillBeRawPtr<VTTCueBox> create(Document& document, VTTCue* cue) 46 static PassRefPtrWillBeRawPtr<VTTCueBox> create(Document& document, VTTCue* cue)
47 { 47 {
48 return adoptRefWillBeRefCountedGarbageCollected(new VTTCueBox(document, cue)); 48 return adoptRefWillBeNoop(new VTTCueBox(document, cue));
49 } 49 }
50 50
51 VTTCue* getCue() const { return m_cue; } 51 VTTCue* getCue() const { return m_cue; }
52 void applyCSSProperties(const IntSize& videoSize); 52 void applyCSSProperties(const IntSize& videoSize);
53 53
54 virtual void trace(Visitor*) OVERRIDE; 54 virtual void trace(Visitor*) OVERRIDE;
55 55
56 private: 56 private:
57 VTTCueBox(Document&, VTTCue*); 57 VTTCueBox(Document&, VTTCue*);
58 58
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool m_displayTreeShouldChange : 1; 191 bool m_displayTreeShouldChange : 1;
192 bool m_notifyRegion : 1; 192 bool m_notifyRegion : 1;
193 }; 193 };
194 194
195 // VTTCue is currently the only TextTrackCue subclass. 195 // VTTCue is currently the only TextTrackCue subclass.
196 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true); 196 DEFINE_TYPE_CASTS(VTTCue, TextTrackCue, cue, true, true);
197 197
198 } // namespace WebCore 198 } // namespace WebCore
199 199
200 #endif 200 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/TextControlInnerElements.cpp ('k') | Source/core/html/track/vtt/VTTElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698