Index: chrome/renderer/resources/extensions/app_custom_bindings.js |
diff --git a/chrome/renderer/resources/extensions/app_custom_bindings.js b/chrome/renderer/resources/extensions/app_custom_bindings.js |
index 79fcfd84f1fe83f2a9a679a600eb72cb1356c6b6..b91705fb95c5219a3a17f3be4908b8af8651b66c 100644 |
--- a/chrome/renderer/resources/extensions/app_custom_bindings.js |
+++ b/chrome/renderer/resources/extensions/app_custom_bindings.js |
@@ -6,8 +6,8 @@ |
var GetAvailability = requireNative('v8_context').GetAvailability; |
if (!GetAvailability('app').is_available) { |
- exports.binding = {}; |
- exports.onInstallStateResponse = function(){}; |
+ exports.$set('binding', {}); |
+ exports.$set('onInstallStateResponse', function(){}); |
return; |
} |
@@ -70,5 +70,5 @@ app.installState = function getInstallState(callback) { |
if (extensionId) |
app.installState = wrapForLogging(app.installState); |
-exports.binding = app; |
-exports.onInstallStateResponse = onInstallStateResponse; |
+exports.$set('binding', app); |
+exports.$set('onInstallStateResponse', onInstallStateResponse); |