Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/opt-in-if-composited.html

Issue 2397333002: Change layerTreeAsText to default to layer lists. (Closed)
Patch Set: none Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/compositing/overflow/opt-in-if-composited.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/opt-in-if-composited.html b/third_party/WebKit/LayoutTests/compositing/overflow/opt-in-if-composited.html
index de7d1112610d46d059dcf6a66fb75619b7a82c3b..1715c244a1636adf860780ad3b24a0ccfbe2c9ba 100644
--- a/third_party/WebKit/LayoutTests/compositing/overflow/opt-in-if-composited.html
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/opt-in-if-composited.html
@@ -14,7 +14,7 @@ onload = function() {
if (window.internals) {
result += "Should not be using composited scrolling: ";
- if (!isUsingCompositedScrolling(JSON.parse(window.internals.layerTreeAsText(document, window.internals.OUTPUT_CHILDREN_AS_LAYER_LIST))))
+ if (!isUsingCompositedScrolling(JSON.parse(window.internals.layerTreeAsText(document))))
result += "Pass.\n";
else
result += "Fail.\n"
@@ -24,7 +24,7 @@ onload = function() {
requestAnimationFrame(function() {
if (window.internals) {
result += "Should be using composited scrolling (since we're compositing anyhow): ";
- if (isUsingCompositedScrolling(JSON.parse(window.internals.layerTreeAsText(document, window.internals.OUTPUT_CHILDREN_AS_LAYER_LIST))))
+ if (isUsingCompositedScrolling(JSON.parse(window.internals.layerTreeAsText(document))))
result += "Pass.\n";
else
result += "Fail.\n"
@@ -34,7 +34,7 @@ onload = function() {
requestAnimationFrame(function() {
if (window.internals) {
result += "Should not be using composited scrolling (since we've lost our direct reason): ";
- if (!isUsingCompositedScrolling(JSON.parse(window.internals.layerTreeAsText(document, window.internals.OUTPUT_CHILDREN_AS_LAYER_LIST))))
+ if (!isUsingCompositedScrolling(JSON.parse(window.internals.layerTreeAsText(document))))
result += "Pass.\n";
else
result += "Fail.\n"

Powered by Google App Engine
This is Rietveld 408576698