Deprecate the BrowserWindow.restart.
Now BrowserWindow.reload would just do the same thing.
This commit is contained in:
parent
19698fc739
commit
a85db2d780
4 changed files with 8 additions and 8 deletions
|
@ -11,10 +11,6 @@ module.exports.wrap = (webContents) ->
|
|||
webContents.send = (args...) ->
|
||||
@_send 'ATOM_INTERNAL_MESSAGE', [args...]
|
||||
|
||||
# WebContents::restart()
|
||||
# Restart the renderer process.
|
||||
webContents.restart = -> @loadUrl @getUrl()
|
||||
|
||||
# The processId and routingId and identify a webContents.
|
||||
webContents.getId = -> "#{@getProcessId()}-#{@getRoutingId()}"
|
||||
webContents.equal = (other) -> @getId() is other.getId()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue