Bug 116802

Summary: Turn TreeScope::focusedNode() into focusedElement().
Product: WebKit Reporter: Andreas Kling <kling>
Component: DOMAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, commit-queue, esprehn+autocc, kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Description Andreas Kling 2013-05-26 17:59:38 PDT
Turn TreeScope::focusedNode() into focusedElement().
Comment 1 Andreas Kling 2013-05-26 18:02:03 PDT
Created attachment 202940 [details]
Patch
Comment 2 Darin Adler 2013-05-26 18:35:30 PDT
Comment on attachment 202940 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=202940&action=review

> Source/WebCore/dom/TreeScope.cpp:397
> +    // FIXME: Remove this ASSERT once Document::focusedNode() returns an Element*.

Really don’t need a FIXME here. Seems like this will happen “automatically”.
Comment 3 Andreas Kling 2013-05-26 19:08:02 PDT
Committed r150733: <http://trac.webkit.org/changeset/150733>