Index: third_party/WebKit/LayoutTests/intersection-observer/root-margin.html |
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html b/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html |
index 57d49244cab43fa699f55561dfe72650d7faa060..6221be0404b5d5c55b0de97ba26ccc5896280576 100644 |
--- a/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html |
+++ b/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html |
@@ -23,9 +23,6 @@ |
}); |
observer.observe(target); |
- // TODO(szager): It shouldn't be necessary to RAF after the call to observer() |
- // and before changing the scroll position, but it is. |
- |
function step0() { |
setTimeout(function() { |
shouldBeEqualToNumber("entries.length", 0); |
@@ -85,5 +82,5 @@ |
}); |
} |
- requestAnimationFrame(step0); |
+ step0(); |
</script> |