Chromium Code Reviews| Index: Source/core/html/track/TextTrackCue.h |
| diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h |
| index 6deedae83a348952034341735a4a0ba24a25c035..334eda482b19ecbfb697010bdb9ab59461993b7e 100644 |
| --- a/Source/core/html/track/TextTrackCue.h |
| +++ b/Source/core/html/track/TextTrackCue.h |
| @@ -32,10 +32,8 @@ |
| #ifndef TextTrackCue_h |
| #define TextTrackCue_h |
| -#include "bindings/v8/ScriptWrappable.h" |
| #include "core/events/EventTarget.h" |
| #include "core/html/HTMLDivElement.h" |
| -#include "core/frame/UseCounter.h" |
| #include "wtf/RefCounted.h" |
| namespace WebCore { |
| @@ -71,15 +69,9 @@ protected: |
| // ---------------------------- |
| -class TextTrackCue : public RefCounted<TextTrackCue>, public ScriptWrappable, public EventTargetWithInlineData { |
| +class TextTrackCue : public RefCounted<TextTrackCue>, public EventTargetWithInlineData { |
| REFCOUNTED_EVENT_TARGET(TextTrackCue); |
| public: |
| - static PassRefPtr<TextTrackCue> create(Document& document, double start, double end, const String& content) |
| - { |
| - UseCounter::count(document, UseCounter::TextTrackCueConstructor); |
|
philipj_slow
2013/11/12 14:44:06
The attentive reader will notice that this was wro
|
| - return adoptRef(new TextTrackCue(document, start, end, content)); |
| - } |
| - |
| static const AtomicString& cueShadowPseudoId() |
| { |
| DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::ConstructFromLiteral)); |
| @@ -190,7 +182,7 @@ public: |
| DEFINE_ATTRIBUTE_EVENT_LISTENER(enter); |
| DEFINE_ATTRIBUTE_EVENT_LISTENER(exit); |
| -private: |
| +protected: |
| TextTrackCue(Document&, double start, double end, const String& content); |
| Document& document() const; |