| Index: Source/core/html/HTMLAnchorElement.cpp
|
| diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp
|
| index 398ac18fec2edd05f2c4275ada69f14057e99014..1ea7351e959f54ce914ef9923d7b58002df936cc 100644
|
| --- a/Source/core/html/HTMLAnchorElement.cpp
|
| +++ b/Source/core/html/HTMLAnchorElement.cpp
|
| @@ -167,7 +167,7 @@ bool HTMLAnchorElement::isKeyboardFocusable(KeyboardEvent* event) const
|
|
|
| if (!isFocusable())
|
| return false;
|
| -
|
| +
|
| Page* page = document()->page();
|
| if (!page)
|
| return false;
|
| @@ -251,7 +251,7 @@ void HTMLAnchorElement::setActive(bool down, bool pause)
|
| EditableLinkBehavior editableLinkBehavior = EditableLinkDefaultBehavior;
|
| if (Settings* settings = document()->settings())
|
| editableLinkBehavior = settings->editableLinkBehavior();
|
| -
|
| +
|
| switch (editableLinkBehavior) {
|
| default:
|
| case EditableLinkDefaultBehavior:
|
| @@ -267,13 +267,13 @@ void HTMLAnchorElement::setActive(bool down, bool pause)
|
| if (down && document()->frame() && document()->frame()->selection()->rootEditableElement() == rootEditableElement())
|
| return;
|
| break;
|
| -
|
| +
|
| case EditableLinkOnlyLiveWithShiftKey:
|
| return;
|
| }
|
|
|
| }
|
| -
|
| +
|
| ContainerNode::setActive(down, pause);
|
| }
|
|
|
|
|