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

Unified Diff: extensions/renderer/resources/guest_view/guest_view_events.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/guest_view_events.js
diff --git a/extensions/renderer/resources/guest_view/guest_view_events.js b/extensions/renderer/resources/guest_view/guest_view_events.js
index fda0db1adc60a6486b537a39c25590db91a31d08..e3ccde1a6c65c80541c333093677457cbbfcb5ab 100644
--- a/extensions/renderer/resources/guest_view/guest_view_events.js
+++ b/extensions/renderer/resources/guest_view/guest_view_events.js
@@ -174,5 +174,5 @@ GuestViewEvents.prototype.weakWrapper = function(func) {
GuestViewEvents.prototype.getEvents = function() { return {}; };
// Exports.
-exports.GuestViewEvents = GuestViewEvents;
-exports.CreateEvent = CreateEvent;
+exports.$set('GuestViewEvents', GuestViewEvents);
+exports.$set('CreateEvent', CreateEvent);

Powered by Google App Engine
This is Rietveld 408576698