| Index: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| index b1e9a3d4cd74ea1b70d664fa65e55a29357bf632..486be7370a988675c73f3177f719dff760a562a4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| @@ -27,7 +27,6 @@
|
| #include "core/editing/EditingUtilities.h"
|
| #include "core/events/KeyboardEvent.h"
|
| #include "core/events/MouseEvent.h"
|
| -#include "core/frame/FrameHost.h"
|
| #include "core/frame/LocalFrameClient.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/frame/UseCounter.h"
|
| @@ -37,6 +36,7 @@
|
| #include "core/loader/FrameLoadRequest.h"
|
| #include "core/loader/PingLoader.h"
|
| #include "core/page/ChromeClient.h"
|
| +#include "core/page/Page.h"
|
| #include "platform/network/NetworkHints.h"
|
| #include "platform/weborigin/SecurityPolicy.h"
|
| #include "public/platform/WebNavigationHintType.h"
|
| @@ -177,7 +177,7 @@ bool HTMLAnchorElement::isKeyboardFocusable() const {
|
| if (isFocusable() && Element::supportsFocus())
|
| return HTMLElement::isKeyboardFocusable();
|
|
|
| - if (isLink() && !document().frameHost()->chromeClient().tabsToLinks())
|
| + if (isLink() && !document().page()->chromeClient().tabsToLinks())
|
| return false;
|
| return HTMLElement::isKeyboardFocusable();
|
| }
|
|
|