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

Unified Diff: extensions/renderer/resources/guest_view/extension_view/extension_view_internal.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/guest_view/extension_view/extension_view_internal.js
diff --git a/extensions/renderer/resources/guest_view/extension_view/extension_view_internal.js b/extensions/renderer/resources/guest_view/extension_view/extension_view_internal.js
index a87ee7674c451a25166c556edc6bb73d83f6255c..07c6dde8c9be7532439ba9d664a41e22d4b1b17b 100644
--- a/extensions/renderer/resources/guest_view/extension_view/extension_view_internal.js
+++ b/extensions/renderer/resources/guest_view/extension_view/extension_view_internal.js
@@ -2,5 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-exports.ExtensionViewInternal =
- require('binding').Binding.create('extensionViewInternal').generate();
+exports.$set(
+ 'ExtensionViewInternal',
+ require('binding').Binding.create('extensionViewInternal').generate());

Powered by Google App Engine
This is Rietveld 408576698