DescriptionUse tighter typing for Document::ownerElement() return value
Use tighter typing for Document::ownerElement() return value. It returns an
HTMLFrameOwnerElement* but a lot of callers assign it to an Element* variable.
This gets rid of a few unnecessary type checks and avoids an unnecessary
isHTMLElement() check in isHTMLFrameElementBase() in several cases.
R=adamk@chromium.org, rob.buis@samsung.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180400
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|