diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-05-04 21:02:04 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-06-29 13:59:32 +0200 |
commit | fea5e5efce43a2ff5e65a63329d7c49f4f8610f9 (patch) | |
tree | a310f902897806adb3199e02ccc863f6d3e811a4 /src/3rdparty/webkit/WebCore/accessibility | |
parent | 6cdbca09b76285bc213a7b746e211df8b3a0a189 (diff) |
Re-apply change bd7c123dc88908f41e6c0eccb9b03f9684e5ca27 by Thiago Macieira
Silenced a warning caused by (apparently) a gcc 4.3 bug:
gcc 4.3 and 4.4 keep giving us a warning like:
'function()::type' declared with greater visibility than the type of
its field 'function()::type::subtype'
This seems to be a gcc bug. See the bug report for more information:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40145
Diffstat (limited to 'src/3rdparty/webkit/WebCore/accessibility')
-rw-r--r-- | src/3rdparty/webkit/WebCore/accessibility/AccessibilityRenderObject.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/3rdparty/webkit/WebCore/accessibility/AccessibilityRenderObject.cpp b/src/3rdparty/webkit/WebCore/accessibility/AccessibilityRenderObject.cpp index 7d4cb39536..9c102670bf 100644 --- a/src/3rdparty/webkit/WebCore/accessibility/AccessibilityRenderObject.cpp +++ b/src/3rdparty/webkit/WebCore/accessibility/AccessibilityRenderObject.cpp @@ -2154,13 +2154,12 @@ AccessibilityObject* AccessibilityRenderObject::observableObject() const typedef HashMap<String, AccessibilityRole, CaseFoldingHash> ARIARoleMap; +struct RoleEntry { + String ariaRole; + AccessibilityRole webcoreRole; +}; static const ARIARoleMap& createARIARoleMap() { - struct RoleEntry { - String ariaRole; - AccessibilityRole webcoreRole; - }; - const RoleEntry roles[] = { { "button", ButtonRole }, { "checkbox", CheckBoxRole }, |