Don't include routing ID in WebContents's ID

This commit is contained in:
Cheng Zhao 2015-06-23 16:09:34 +08:00
parent b3905e867e
commit 89c7028ed1

View file

@ -25,7 +25,7 @@ wrapWebContents = (webContents) ->
webContents.once 'did-finish-load', @_executeJavaScript.bind(this, code)
# The processId and routingId and identify a webContents.
webContents.getId = -> "#{@getProcessId()}-#{@getRoutingId()}"
webContents.getId = -> @getProcessId()
webContents.equal = (other) -> @getId() is other.getId()
# The navigation controller.