mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
The variable `input` is accepted by a universal reference, so it doesn't make sense to cast a potential lvalue reference into an rvalue reference. In case `input` is an lvalue reference, we should rather forward the value as is to `ToV8()`. Signed-off-by: Darshan Sen <darshan.sen@postman.com>