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

Unified Diff: extensions/renderer/resources/guest_view/web_view/web_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/web_view/web_view_internal.js
diff --git a/extensions/renderer/resources/guest_view/web_view/web_view_internal.js b/extensions/renderer/resources/guest_view/web_view/web_view_internal.js
index 03ede9bc64e406d5776847453776d2d0bcd58d83..4d2c36c2dad4933ca6c8d1d91b940ca232e43bd0 100644
--- a/extensions/renderer/resources/guest_view/web_view/web_view_internal.js
+++ b/extensions/renderer/resources/guest_view/web_view/web_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.WebViewInternal =
- require('binding').Binding.create('webViewInternal').generate();
+exports.$set(
+ 'WebViewInternal',
+ require('binding').Binding.create('webViewInternal').generate());

Powered by Google App Engine
This is Rietveld 408576698