[Webkit-unassigned] [Bug 127447] Web Inspector: AX: Accessibility Node Inspection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 23 21:46:18 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=127447





--- Comment #5 from Joseph Pecoraro <joepeck at webkit.org>  2014-01-23 21:43:47 PST ---
(From update of attachment 221905)
View in context: https://bugs.webkit.org/attachment.cgi?id=221905&action=review

>>> Source/WebCore/accessibility/AccessibilityObject.cpp:1508
>>> +typedef HashMap<int, String> ARIAReverseRoleMap;
>> 
>> Nit: int => AccessibilityRole
> 
> The compiler actually chokes on this change, believe it or not. Could not get it to build until changing AccessibilityRole to int. I was planning to at that in a comment. Asumption is that it doesn't want an enum as the hashmap key. Would love a better solution if you know the fix.

Ahh, it is an enum. I see. Is the error you get something like DefaultHash:
/usr/local/include/wtf/HashMap.h:41:79: error: implicit instantiation of undefined template 'WTF::DefaultHash<Foo>'

I'm sure there is a way to fix this but for now jus leave it int. I'll ask the C++ gurus over here if they have a solution.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list