Index: Source/bindings/v8/custom/V8TextTrackCueCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8TextTrackCueCustom.cpp b/Source/bindings/v8/custom/V8TextTrackCueCustom.cpp |
index 3adef38297e74537479463be5932b8992fdd7ed2..221e9b22a25eb313fe5383b914a7f45d4fe1fcde 100644 |
--- a/Source/bindings/v8/custom/V8TextTrackCueCustom.cpp |
+++ b/Source/bindings/v8/custom/V8TextTrackCueCustom.cpp |
@@ -58,7 +58,7 @@ void V8TextTrackCue::constructorCustom(const v8::FunctionCallbackInfo<v8::Value> |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, text, info[2]); |
Document& document = *toDocument(getExecutionContext()); |
- UseCounter::count(document, UseCounter::TextTrackCueConstructor); |
+ UseCounter::countDeprecation(document, UseCounter::TextTrackCueConstructor); |
RefPtr<VTTCue> impl = VTTCue::create(document, startTime, endTime, text); |
v8::Handle<v8::Object> wrapper = wrap(impl.get(), info.Holder(), info.GetIsolate()); |