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

Unified Diff: chrome/renderer/resources/extensions/automation/automation_node.js

Issue 2601333002: Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Fix select_to_speak Created 3 years, 11 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/automation/automation_node.js
diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js
index 225c0d2e7c57b185f67eec87ac6bff5fe7cef508..28b2a4568d0cb129f284d6419b4c6474aa54995b 100644
--- a/chrome/renderer/resources/extensions/automation/automation_node.js
+++ b/chrome/renderer/resources/extensions/automation/automation_node.js
@@ -226,7 +226,6 @@ var GetHtmlAttribute = requireNative('automationInternal').GetHtmlAttribute;
var lastError = require('lastError');
var logging = requireNative('logging');
-var schema = requireNative('automationInternal').GetSchemaAdditions();
var utils = require('utils');
/**
@@ -1032,7 +1031,7 @@ AutomationRootNodeImpl.prototype = {
},
destroy: function() {
- this.dispatchEvent(schema.EventType.destroyed, 'none');
+ this.dispatchEvent('destroyed', 'none');
for (var id in this.axNodeDataCache_)
this.remove(id);
this.detach();

Powered by Google App Engine
This is Rietveld 408576698