Skip to content

Commit

Permalink
chore: cleanup after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Jan 22, 2019
1 parent 64310cd commit ad0f072
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/browser/api/web-contents.js
Expand Up @@ -342,16 +342,6 @@ WebContents.prototype.loadFile = function (filePath, options = {}) {
}))
}

WebContents.prototype.getZoomFactor = function (callback) {
if (typeof callback !== 'function') {
throw new Error('Must pass function as an argument')
}
process.nextTick(() => {
const zoomFactor = this._getZoomFactor()
callback(zoomFactor)
})
}

const wrapEventWithReply = (event) => {
event.reply = (...args) => {
event.sender.sendToFrame(event.frameId, ...args)
Expand Down

0 comments on commit ad0f072

Please sign in to comment.