Index: chrome/renderer/resources/extensions/automation/automation_event.js |
diff --git a/chrome/renderer/resources/extensions/automation/automation_event.js b/chrome/renderer/resources/extensions/automation/automation_event.js |
index 0ba408d9e82dae617c369e73ecc1d03c91487c35..bd5a3d209610c75e9dce1ad932b41b95d04ff193 100644 |
--- a/chrome/renderer/resources/extensions/automation/automation_event.js |
+++ b/chrome/renderer/resources/extensions/automation/automation_event.js |
@@ -4,19 +4,20 @@ |
var utils = require('utils'); |
-var AutomationEventImpl = function(type, target) { |
+function AutomationEventImpl(type, target) { |
this.propagationStopped = false; |
// TODO(aboxhall): make these read-only properties |
this.type = type; |
this.target = target; |
this.eventPhase = Event.NONE; |
-}; |
+} |
AutomationEventImpl.prototype = { |
+ __proto__: null, |
stopPropagation: function() { |
this.propagationStopped = true; |
- } |
+ }, |
}; |
function AutomationEvent() { |