| Index: mojo/edk/js/core.cc
|
| diff --git a/mojo/edk/js/core.cc b/mojo/edk/js/core.cc
|
| index db9a395402c18022dbcd7fff83f428084361f6e2..f3eec8cc8422ddf69ef0ba5f093a004e3b1d1d06 100644
|
| --- a/mojo/edk/js/core.cc
|
| +++ b/mojo/edk/js/core.cc
|
| @@ -33,20 +33,6 @@
|
| return MOJO_RESULT_INVALID_ARGUMENT;
|
| handle->Close();
|
| return MOJO_RESULT_OK;
|
| -}
|
| -
|
| -gin::Dictionary QueryHandleSignalsState(const gin::Arguments& args,
|
| - mojo::Handle handle) {
|
| - gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate());
|
| - if (!handle.is_valid()) {
|
| - dictionary.Set("result", MOJO_RESULT_INVALID_ARGUMENT);
|
| - } else {
|
| - HandleSignalsState state = handle.QuerySignalsState();
|
| - dictionary.Set("result", MOJO_RESULT_OK);
|
| - dictionary.Set("satisfiedSignals", state.satisfied_signals);
|
| - dictionary.Set("satisfiableSignals", state.satisfiable_signals);
|
| - }
|
| - return dictionary;
|
| }
|
|
|
| gin::Dictionary WaitHandle(const gin::Arguments& args,
|
| @@ -402,7 +388,6 @@
|
| // TODO(mpcomplete): Should these just be methods on the JS Handle
|
| // object?
|
| .SetMethod("close", CloseHandle)
|
| - .SetMethod("queryHandleSignalsState", QueryHandleSignalsState)
|
| .SetMethod("wait", WaitHandle)
|
| .SetMethod("waitMany", WaitMany)
|
| .SetMethod("createMessagePipe", CreateMessagePipe)
|
|
|