mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 20:54:43 +00:00
zig fmt
This commit is contained in:
@@ -905,7 +905,7 @@ pub fn enter(self: *Context, hs: *js.HandleScope) Entered {
|
|||||||
|
|
||||||
const handle: *const v8.Context = @ptrCast(v8.v8__Global__Get(&self.handle, isolate.handle));
|
const handle: *const v8.Context = @ptrCast(v8.v8__Global__Get(&self.handle, isolate.handle));
|
||||||
v8.v8__Context__Enter(handle);
|
v8.v8__Context__Enter(handle);
|
||||||
return .{.original = original, .handle = handle, .handle_scope = hs};
|
return .{ .original = original, .handle = handle, .handle_scope = hs };
|
||||||
}
|
}
|
||||||
|
|
||||||
const Entered = struct {
|
const Entered = struct {
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ pub fn add(self: *Scheduler, ctx: *anyopaque, cb: Callback, run_in_ms: u32, opts
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pub fn run(self: *Scheduler) !?u64 {
|
pub fn run(self: *Scheduler) !?u64 {
|
||||||
_ = try self.runQueue(&self.low_priority);
|
_ = try self.runQueue(&self.low_priority);
|
||||||
return self.runQueue(&self.high_priority);
|
return self.runQueue(&self.high_priority);
|
||||||
|
|||||||
Reference in New Issue
Block a user