Bug 1561435 - Reposition comments in gfx/, r=kats
authorVictor Porof <vporof@mozilla.com>
Wed, 26 Jun 2019 16:02:07 +0200
changeset 541049 516d28fb9aebe12994d4bf960865ca65370b1ef6
parent 541048 1982faa9eafa193e25814a6f328386292c8f285c
child 541050 8075dd0530542c507e570f7f903d23c51e108a11
push id11533
push userarchaeopteryx@coole-files.de
push dateMon, 08 Jul 2019 18:18:03 +0000
treeherdermozilla-beta@f4452e031aed [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1561435
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1561435 - Reposition comments in gfx/, r=kats # ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D36025
gfx/layers/apz/test/mochitest/apz_test_utils.js
--- a/gfx/layers/apz/test/mochitest/apz_test_utils.js
+++ b/gfx/layers/apz/test/mochitest/apz_test_utils.js
@@ -158,18 +158,18 @@ function buildApzcTree(paint) {
     parentNode.children.push(paint[scrollId]);
   }
   return root;
 }
 
 // Given an APZC tree produced by buildApzcTree, return the RCD node in
 // the tree, or null if there was none.
 function findRcdNode(apzcTree) {
+  // isRootContent will be undefined or "1"
   if (apzcTree.isRootContent) {
-    // isRootContent will be undefined or "1"
     return apzcTree;
   }
   for (var i = 0; i < apzcTree.children.length; i++) {
     var rcd = findRcdNode(apzcTree.children[i]);
     if (rcd != null) {
       return rcd;
     }
   }
@@ -288,18 +288,18 @@ function runSubtestsSeriallyInFreshWindo
       "apz.subtest",
       /* default = */ ""
     );
 
     function advanceSubtestExecution() {
       var test = aSubtests[testIndex];
       if (w) {
         // Run any cleanup functions registered in the subtest
+        // Guard against the subtest not loading apz_test_utils.js
         if (w.ApzCleanup) {
-          // guard against the subtest not loading apz_test_utils.js
           w.ApzCleanup.execute();
         }
         if (typeof test.dp_suppression != "undefined") {
           // We modified the suppression when starting the test, so now undo that.
           SpecialPowers.getDOMWindowUtils(window).respectDisplayPortSuppression(
             !test.dp_suppression
           );
         }