| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index 7fe3bc1e826e82316cbefce7fcf18192ebe7e693..3ed06bd5230897b9b7b542d23d353ef9c3b3b70b 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -28,6 +28,7 @@
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/HTMLNames.h"
|
| +#include "core/InputTypeNames.h"
|
| #include "core/accessibility/AXObjectCache.h"
|
| #include "core/css/StylePropertySet.h"
|
| #include "core/dom/CharacterData.h"
|
| @@ -1432,7 +1433,7 @@ PassRefPtrWillBeRawPtr<Range> FrameSelection::firstRange() const
|
| bool FrameSelection::isInPasswordField() const
|
| {
|
| HTMLTextFormControlElement* textControl = enclosingTextFormControl(start());
|
| - return isHTMLInputElement(textControl) && toHTMLInputElement(textControl)->isPasswordField();
|
| + return isHTMLInputElement(textControl) && toHTMLInputElement(textControl)->type() == InputTypeNames::password;
|
| }
|
|
|
| void FrameSelection::notifyAccessibilityForSelectionChange()
|
|
|