Fix freeProcess.binding(util) usage (#2793)

This commit is contained in:
Jhen-Jie Hong
2016-11-07 03:11:01 +08:00
committed by John-David Dalton
parent 3217118fab
commit 6d951ccc87

View File

@@ -432,7 +432,7 @@
/** Used to access faster Node.js helpers. */ /** Used to access faster Node.js helpers. */
var nodeUtil = (function() { var nodeUtil = (function() {
try { try {
return freeProcess && freeProcess.binding('util'); return freeProcess && freeProcess.binding && freeProcess.binding('util');
} catch (e) {} } catch (e) {}
}()); }());