DescriptionChange type of static cast to legal/correct base type.
On line 337, the static cast of ownerElement to an HTMLFrameElement
was not correct, because sometimes ownerElement could contain an
HTMLIFrameElement. HTMLIFrameElement is a sibling class of HTMLFrameElement.
The correct static cast is to an HTMLFrameElementBase, which is a base
class for both of the other classes.
This correctness change is required for upcoming compiler changes.
BUG=none
TEST=made source change; emerge-stumpy chromeos-chrome; ran in VM.
Patch Set 1 #
MessagesTotal messages: 2
|