Index: third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html |
diff --git a/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html |
index baf820dcf3804dba288a6f4447fdf188e5b404db..62972a7fdc324852f4fa971b83d93806479f5729 100644 |
--- a/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html |
+++ b/third_party/WebKit/LayoutTests/fast/spatial-navigation/snav-hidden-focusable-element.html |
@@ -12,7 +12,7 @@ |
if (window.testRunner) { |
testRunner.dumpAsText(); |
testRunner.overridePreference("WebKitTabToLinksPreferenceKey", 1); |
- testRunner.overridePreference("WebKitSpatialNavigationEnabled", 1); |
+ window.internals.settings.setSpatialNavigationEnabled(true); |
testRunner.waitUntilDone(); |
} |