Chromium Code Reviews| Index: webkit/glue/webaccessibility.cc |
| =================================================================== |
| --- webkit/glue/webaccessibility.cc (revision 75254) |
| +++ webkit/glue/webaccessibility.cc (working copy) |
| @@ -380,6 +380,12 @@ |
| // Add the source object to the cache and store its id. |
| id = cache->addOrGetId(src); |
| + if (role == WebAccessibility::ROLE_EDITABLE_TEXT || |
|
Chris Guillory
2011/02/18 01:43:17
Nit: Add comment explaining why we shouldn't inclu
|
| + role == WebAccessibility::ROLE_TEXTAREA || |
| + role == WebAccessibility::ROLE_TEXT_FIELD) { |
| + include_children = false; |
| + } |
| + |
| if (include_children) { |
| // Recursively create children. |
| int child_count = src.childCount(); |