Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: extensions/renderer/resources/mojo_private_custom_bindings.js

Issue 1417513003: [Extensions] Don't allow built-in extensions code to be overridden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Jochen's Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/resources/mojo_private_custom_bindings.js
diff --git a/extensions/renderer/resources/mojo_private_custom_bindings.js b/extensions/renderer/resources/mojo_private_custom_bindings.js
index f898c0766adc61b30458371f4a555a74bdfc5154..18d6016ba3b4fbcf1032e9710ee7ffa42dec01b2 100644
--- a/extensions/renderer/resources/mojo_private_custom_bindings.js
+++ b/extensions/renderer/resources/mojo_private_custom_bindings.js
@@ -20,4 +20,4 @@ binding.registerCustomHook(function(bindingsAPI) {
});
});
-exports.binding = binding.generate();
+exports.$set('binding', binding.generate());

Powered by Google App Engine
This is Rietveld 408576698