chore: rename atomBinding to electronBinding (#17419)

This commit is contained in:
Shelley Vohr 2019-03-18 12:37:06 -07:00 committed by GitHub
parent 5025c991ee
commit 38d75010c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
81 changed files with 167 additions and 164 deletions

View file

@ -1,8 +1,8 @@
'use strict'
const { app, webContents, BrowserWindow } = require('electron')
const { getAllWebContents } = process.atomBinding('web_contents')
const renderProcessPreferences = process.atomBinding('render_process_preferences').forAllWebContents()
const { getAllWebContents } = process.electronBinding('web_contents')
const renderProcessPreferences = process.electronBinding('render_process_preferences').forAllWebContents()
const { ipcMainInternal } = require('@electron/internal/browser/ipc-main-internal')
const ipcMainUtils = require('@electron/internal/browser/ipc-main-internal-utils')