Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: third_party/WebKit/Source/core/svg/SVGAElement.cpp

Issue 2716153003: Removed FrameHost::chromeClient() (Closed)
Patch Set: Small feedback Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/SVGAElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAElement.cpp b/third_party/WebKit/Source/core/svg/SVGAElement.cpp
index a3283c6c2cd0693135c08c9531793fb984ad1233..a4e7c54760daa8e56a567e85aa76d571bc3901e5 100644
--- a/third_party/WebKit/Source/core/svg/SVGAElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAElement.cpp
@@ -30,7 +30,6 @@
#include "core/editing/EditingUtilities.h"
#include "core/events/KeyboardEvent.h"
#include "core/events/MouseEvent.h"
-#include "core/frame/FrameHost.h"
#include "core/frame/LocalFrame.h"
#include "core/html/HTMLAnchorElement.h"
#include "core/html/HTMLFormElement.h"
@@ -199,7 +198,7 @@ bool SVGAElement::isMouseFocusable() const {
bool SVGAElement::isKeyboardFocusable() const {
if (isFocusable() && Element::supportsFocus())
return SVGElement::isKeyboardFocusable();
- if (isLink() && !document().frameHost()->chromeClient().tabsToLinks())
+ if (isLink() && !document().page()->chromeClient().tabsToLinks())
return false;
return SVGElement::isKeyboardFocusable();
}

Powered by Google App Engine
This is Rietveld 408576698