| Index: Source/core/svg/SVGAElement.cpp
|
| diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
|
| index 23b39ced0d67dbc77428bdd6e7cf5fedcd62c5e5..eb0cc34939a9ef9b76ef90d0e31e2c68e6468793 100644
|
| --- a/Source/core/svg/SVGAElement.cpp
|
| +++ b/Source/core/svg/SVGAElement.cpp
|
| @@ -222,11 +222,9 @@ bool SVGAElement::isKeyboardFocusable(KeyboardEvent*) const
|
| if (!isFocusable())
|
| return false;
|
|
|
| - Page* page = document()->page();
|
| - if (!page)
|
| - return false;
|
| -
|
| - return page->chrome().client()->tabsToLinks();
|
| + if (Page* page = document()->page())
|
| + return page->chrome().client().tabsToLinks();
|
| + return false;
|
| }
|
|
|
| bool SVGAElement::childShouldCreateRenderer(const NodeRenderingContext& childContext) const
|
|
|