Index: LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html |
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html |
index e64763bf04b950b02ee871d6d44d36088022d727..4ed9225607ea5cf879be555c9634e9c1cc7abc1a 100644 |
--- a/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html |
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html |
@@ -1,16 +1,13 @@ |
<!DOCTYPE html> |
<html> |
<head> |
- <script src="../../compositing/overflow/resources/automatically-opt-into-composited-scrolling.js"></script> |
<link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"> |
<script> |
if (window.internals) |
- window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); |
+ window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(true); |
function runTest() { |
var resultDiv = document.getElementById('result'); |
- if (!window.internals || !didOptIn(targetDiv)) |
- resultDiv.innerHTML = "Error: target scrollable overflow div did not opt-in."; |
var clientRect = document.getElementById('targetLink').getBoundingClientRect(); |
x = (clientRect.left + clientRect.right) / 2; |
y = (clientRect.top + clientRect.bottom) / 2; |