| 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 09b1894fba73c373b9229ebb8ed971fe4ff5575a..72501650ad2785b75235b85042edbf74f284a742 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();
|
| }
|
|
|