Implement getId in C++
This commit is contained in:
parent
89c7028ed1
commit
52789ab96f
3 changed files with 12 additions and 16 deletions
|
@ -24,10 +24,6 @@ wrapWebContents = (webContents) ->
|
|||
else
|
||||
webContents.once 'did-finish-load', @_executeJavaScript.bind(this, code)
|
||||
|
||||
# The processId and routingId and identify a webContents.
|
||||
webContents.getId = -> @getProcessId()
|
||||
webContents.equal = (other) -> @getId() is other.getId()
|
||||
|
||||
# The navigation controller.
|
||||
controller = new NavigationController(webContents)
|
||||
for name, method of NavigationController.prototype when method instanceof Function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue