[Webkit-unassigned] [Bug 41569] [Chromium] Expose basic DOM information in WebAccessibilityObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 12 12:46:54 PDT 2010


--- Comment #19 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2010-07-12 12:46:54 PST ---
(In reply to comment #17)
> Created an attachment (id=61110)
 --> (https://bugs.webkit.org/attachment.cgi?id=61110) [details]
> Got rid of WebNode::element()
> OK, WebNode::element() is gone.
> This may be a stupid question, but is there a cleaner way to cast a WebNode to a WebElement? I added it because I thought this would be ugly:
> WebKit::WebElement element(*reinterpret_cast<WebKit::WebElement*>(&node));
> If you have a suggestion for a cleaner way to cast WebNode to WebElement, that's great - but it doesn't matter because either way it will get reviewed shortly in a Chromium patch. :)

WebNode has templatized "to" and "toConst" methods.

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