diff options
Diffstat (limited to 'WebCore/html/HTMLInputElement.cpp')
-rw-r--r-- | WebCore/html/HTMLInputElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLInputElement.cpp b/WebCore/html/HTMLInputElement.cpp index cd826bf..b7b05b1 100644 --- a/WebCore/html/HTMLInputElement.cpp +++ b/WebCore/html/HTMLInputElement.cpp @@ -338,7 +338,7 @@ bool HTMLInputElement::isKeyboardFocusable(KeyboardEvent* event) const if (deprecatedInputType() == RADIO) { // When using Spatial Navigation, every radio button should be focusable. - if (document()->frame() && document()->frame()->settings() && document()->frame()->settings()->isSpatialNavigationEnabled()) + if (isSpatialNavigationEnabled(document()->frame())) return true; // Never allow keyboard tabbing to leave you in the same radio group. Always |