summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorshreeram.k <shreeram.k@samsung.com>2014-12-02 08:58:25 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-02 16:59:08 +0000
commitd08dba3e24a145f38a537346d80603a6779c5818 (patch)
tree1249d9a671a76ccc18babca1b44eaaabe41c5f19 /chrome/renderer
parentb9019ae62bb8521d91f8d3a0a0d07bf684ab5d6a (diff)
downloadchromium_src-d08dba3e24a145f38a537346d80603a6779c5818.zip
chromium_src-d08dba3e24a145f38a537346d80603a6779c5818.tar.gz
chromium_src-d08dba3e24a145f38a537346d80603a6779c5818.tar.bz2
Remove unused roles(EditableText, SplitGroup, GrowArea) from Chromium.
This CL removes unused roles from chromium. 1. SplitGroup role 2. GrowArea role 3. EditableText role A blink side patch will follow this to remove above unused roles from blink as well. BUG=436808 Review URL: https://codereview.chromium.org/755883006 Cr-Commit-Position: refs/heads/master@{#306403}
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/resources/extensions/automation/automation_node.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js
index c425244..9dcf626 100644
--- a/chrome/renderer/resources/extensions/automation/automation_node.js
+++ b/chrome/renderer/resources/extensions/automation/automation_node.js
@@ -773,8 +773,7 @@ AutomationRootNodeImpl.prototype = {
}
// If this is an editable text area, set editable text attributes.
- if (nodeData.role == schema.RoleType.editableText ||
- nodeData.role == schema.RoleType.textField ||
+ if (nodeData.role == schema.RoleType.textField ||
nodeData.role == schema.RoleType.textArea) {
this.mixinAttributes_(nodeImpl, EditableTextMixinAttributes, nodeData);
}