Skip to content

Commit

Permalink
Merge pull request #898 from cloudflare/jsnell/remove-unnecessary-iso…
Browse files Browse the repository at this point in the history
…late-argument
  • Loading branch information
jasnell authored Jul 21, 2023
2 parents fb08ade + a7f1b7f commit 07c1c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/workerd/api/basics.c++
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ void ExtendableEvent::waitUntil(kj::Promise<void> promise) {
IoContext::current().addWaitUntil(kj::mv(promise));
}

jsg::Optional<jsg::Ref<ActorState>> ExtendableEvent::getActorState(v8::Isolate* isolate) {
jsg::Optional<jsg::Ref<ActorState>> ExtendableEvent::getActorState() {
IoContext& context = IoContext::current();
return context.getActor().map([&](Worker::Actor& actor) {
auto& lock = context.getCurrentLock();
Expand Down
2 changes: 1 addition & 1 deletion src/workerd/api/basics.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class ExtendableEvent: public Event {

void waitUntil(kj::Promise<void> promise);

jsg::Optional<jsg::Ref<ActorState>> getActorState(v8::Isolate* isolate);
jsg::Optional<jsg::Ref<ActorState>> getActorState();

JSG_RESOURCE_TYPE(ExtendableEvent) {
JSG_INHERIT(Event);
Expand Down

0 comments on commit 07c1c26

Please # to comment.