@@ -1141,13 +1141,6 @@ void MessagePort::Stop(const FunctionCallbackInfo<Value>& args) {
11411141  port->Stop ();
11421142}
11431143
1144- void  MessagePort::CheckType (const  FunctionCallbackInfo<Value>& args) {
1145-   Environment* env = Environment::GetCurrent (args);
1146-   args.GetReturnValue ().Set (
1147-       GetMessagePortConstructorTemplate (env->isolate_data ())
1148-           ->HasInstance (args[0 ]));
1149- }
1150- 
11511144void  MessagePort::Drain (const  FunctionCallbackInfo<Value>& args) {
11521145  MessagePort* port;
11531146  ASSIGN_OR_RETURN_UNWRAP (&port, args[0 ].As <Object>());
@@ -1731,7 +1724,6 @@ static void CreatePerIsolateProperties(IsolateData* isolate_data,
17311724  //  These are not methods on the MessagePort prototype, because
17321725  //  the browser equivalents do not provide them.
17331726  SetMethod (isolate, target, " stopMessagePort" 
1734-   SetMethod (isolate, target, " checkMessagePort" 
17351727  SetMethod (isolate, target, " drainMessagePort" 
17361728  SetMethod (
17371729      isolate, target, " receiveMessageOnPort" 
@@ -1767,7 +1759,6 @@ static void RegisterExternalReferences(ExternalReferenceRegistry* registry) {
17671759  registry->Register (MessagePort::PostMessage);
17681760  registry->Register (MessagePort::Start);
17691761  registry->Register (MessagePort::Stop);
1770-   registry->Register (MessagePort::CheckType);
17711762  registry->Register (MessagePort::Drain);
17721763  registry->Register (MessagePort::ReceiveMessage);
17731764  registry->Register (MessagePort::MoveToContext);
0 commit comments