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

Unified Diff: chrome/renderer/resources/extensions/tab_capture_custom_bindings.js

Issue 1840453002: [Extensions] More bindings hardening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: chrome/renderer/resources/extensions/tab_capture_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/tab_capture_custom_bindings.js b/chrome/renderer/resources/extensions/tab_capture_custom_bindings.js
index 6019c698ac7b0d8f9e69fd2fd1bdc4ef2f71cd8d..e8d325420fee4bf3fe344b1d416aca4647bf08f0 100644
--- a/chrome/renderer/resources/extensions/tab_capture_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/tab_capture_custom_bindings.js
@@ -60,4 +60,4 @@ binding.registerCustomHook(function(bindingsAPI, extensionId) {
apiFunctions.setCustomCallback('captureOffscreenTab', proxyToGetUserMedia);
});
-exports.binding = binding.generate();
+exports.$set('binding', binding.generate());

Powered by Google App Engine
This is Rietveld 408576698