I have added
protected:
AccessibilityRole m_role;
to AccessibilityObject.h
I want to initialize that variable in subclasses of
AccessibilityObject, like so
AccessibilityImageMapLink::AccessibilityImageMapLink()
: m_role(WebCoreLinkRole)
but the compiler says
/Volumes/data/WebKit/WebCore/accessibility/
AccessibilityImageMapLink.cpp:48: error: class
‘WebCore::AccessibilityImageMapLink’ does not have any field named
‘m_role’
even though this works fine
AccessibilityImageMapLink::AccessibilityImageMapLink()
{
m_role = WebCoreLinkRole;
}
any tips?
thanx_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev