From: Cheng Zhao Date: Tue, 23 Jun 2015 08:09:34 +0000 (+0800) Subject: Don't include routing ID in WebContents's ID X-Git-Tag: v0.29.0~30^2~9 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=89c7028ed1fb91f341f4b30ddc3b740067f5d158;p=electron.git Don't include routing ID in WebContents's ID --- diff --git a/atom/browser/api/lib/web-contents.coffee b/atom/browser/api/lib/web-contents.coffee index 8855b6d3..67f106f6 100644 --- a/atom/browser/api/lib/web-contents.coffee +++ b/atom/browser/api/lib/web-contents.coffee @@ -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.