From 89c7028ed1fb91f341f4b30ddc3b740067f5d158 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 23 Jun 2015 16:09:34 +0800 Subject: [PATCH] Don't include routing ID in WebContents's ID --- atom/browser/api/lib/web-contents.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/api/lib/web-contents.coffee b/atom/browser/api/lib/web-contents.coffee index 8855b6d35f5f..67f106f6bb86 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.