Bug 116802 - Turn TreeScope::focusedNode() into focusedElement().
Summary: Turn TreeScope::focusedNode() into focusedElement().
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-26 17:59 PDT by Andreas Kling
Modified: 2013-05-26 19:08 PDT (History)
4 users (show)

See Also:


Attachments
Patch (7.36 KB, patch)
2013-05-26 18:02 PDT, Andreas Kling
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>