| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index 0c6083da2dbe8c3e0c54be10ef36358e84826cc6..d505320bc89b81913907799205e2ccb8db257927 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -1733,7 +1733,7 @@ static HTMLFormElement* scanForForm(Node* start)
|
| if (HTMLFormElement* owner = element->formOwner())
|
| return owner;
|
|
|
| - if (isHTMLFrameElement(*element) || isHTMLIFrameElement(*element)) {
|
| + if (isHTMLFrameElementBase(*element)) {
|
| Node* childDocument = toHTMLFrameElementBase(*element).contentDocument();
|
| if (HTMLFormElement* frameResult = scanForForm(childDocument))
|
| return frameResult;
|
|
|