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

Unified Diff: extensions/renderer/resources/context_menus_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/context_menus_custom_bindings.js
diff --git a/extensions/renderer/resources/context_menus_custom_bindings.js b/extensions/renderer/resources/context_menus_custom_bindings.js
index fe5cec9e792de5904e24655a4fd8de2e196dea9a..ec8080f5294d44710be3729ce970c2a27f766bd3 100644
--- a/extensions/renderer/resources/context_menus_custom_bindings.js
+++ b/extensions/renderer/resources/context_menus_custom_bindings.js
@@ -23,4 +23,4 @@ binding.registerCustomHook(function(bindingsAPI) {
apiFunctions.setCustomCallback('removeAll', handlers.callbacks.removeAll);
});
-exports.binding = binding.generate();
+exports.$set('binding', binding.generate());

Powered by Google App Engine
This is Rietveld 408576698