remove page-title-updated workaround for #3380

This commit is contained in:
deepak1556 2017-04-05 16:57:33 +05:30 committed by Cheng Zhao
parent e4524ce42e
commit 5e976be43b
4 changed files with 8 additions and 16 deletions

View file

@ -268,13 +268,6 @@ WebContents.prototype._init = function () {
this.reload()
})
// Delays the page-title-updated event to next tick.
this.on('-page-title-updated', function (...args) {
setImmediate(() => {
this.emit('page-title-updated', ...args)
})
})
app.emit('web-contents-created', {}, this)
}