Index: Source/core/html/track/TextTrackCue.h |
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h |
index 6eb5b490aea4e9a17df444f23416e898a5aee9e5..7fd5b9de776b7a35ef6ce218019f76ffd42753be 100644 |
--- a/Source/core/html/track/TextTrackCue.h |
+++ b/Source/core/html/track/TextTrackCue.h |
@@ -35,6 +35,7 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "core/events/EventTarget.h" |
#include "core/html/HTMLDivElement.h" |
+#include "core/page/UseCounter.h" |
#include "wtf/RefCounted.h" |
namespace WebCore { |
@@ -75,6 +76,7 @@ class TextTrackCue : public RefCounted<TextTrackCue>, public ScriptWrappable, pu |
public: |
static PassRefPtr<TextTrackCue> create(Document& document, double start, double end, const String& content) |
{ |
+ UseCounter::count(document, UseCounter::TextTrackCueConstructor); |
return adoptRef(new TextTrackCue(document, start, end, content)); |
} |