| Index: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html
|
| diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html
|
| index 1b51afad82ea0e2c21f9ebbf2db25d4a6dd3ac39..061f6f0808a2ba21cc54bc671399a4ac5e7fffb5 100644
|
| --- a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html
|
| +++ b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html
|
| @@ -1,3 +1,5 @@
|
| +<!doctype HTML>
|
| +<script src="resources/composited-scroll.js"></script>
|
| <script>
|
| if (window.testRunner)
|
| testRunner.dumpAsText();
|
| @@ -5,18 +7,6 @@ if (window.testRunner)
|
| if (window.internals)
|
| internals.runtimeFlags.compositeOpaqueScrollersEnabled = true;
|
|
|
| -function hasOpaqueCompositedScrollingContentsLayer(layer) {
|
| - if (layer.name == "Scrolling Contents Layer")
|
| - return layer.contentsOpaque;
|
| - if (layer.children) {
|
| - for (var i = 0; i < layer.children.length; i++) {
|
| - if (hasOpaqueCompositedScrollingContentsLayer(layer.children[i]))
|
| - return true;
|
| - }
|
| - }
|
| - return false;
|
| -}
|
| -
|
| onload = function() {
|
| if (!window.testRunner || !window.internals)
|
| return;
|
|
|