Index: LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html |
diff --git a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html |
index a31054176d8a217f011c1b863e7ae39a3ad8cec6..a9e40f071c21492d45ab3e21283fa9f69f75d7b0 100644 |
--- a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html |
+++ b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html |
@@ -6,16 +6,16 @@ |
testRunner.dumpAsText(); |
testRunner.waitUntilDone(); |
} |
- if (window.internals) { |
+ if (window.internals && window.eventSender) { |
window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true); |
window.internals.settings.setFixedPositionCreatesStackingContext(true); |
addEventListener("load", function() { |
- window.internals.setPageScaleFactor(0.5, 0, 0); |
+ window.eventSender.setPageScaleFactor(0.5, 0, 0); |
setTimeout(function() { |
var layerTreeScaledDown = internals.layerTreeAsText(document.getElementById("iframe").contentDocument); |
- window.internals.setPageScaleFactor(1.5, 0, 0); |
+ window.eventSender.setPageScaleFactor(1.5, 0, 0); |
setTimeout(function() { |
var layerTreeScaledUp = internals.layerTreeAsText(document.getElementById("iframe").contentDocument); |
// Because logical size of the frame is unchanged, the layer tree in the frame should not be affected by the page scale. |