electron/lib/common/api/native-image.js
2016-03-08 11:14:21 -08:00

7 lines
226 B
JavaScript

const deprecate = require('electron').deprecate;
const nativeImage = process.atomBinding('native_image');
// Deprecated.
deprecate.rename(nativeImage, 'createFromDataUrl', 'createFromDataURL');
module.exports = nativeImage;