Skip to content

Commit

Permalink
Bug 1561435 - Reposition comments in gfx/, r=kats
Browse files Browse the repository at this point in the history
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36025
  • Loading branch information
Victor Porof committed Jun 26, 2019
1 parent 1e9a54e commit 691c47a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gfx/layers/apz/test/mochitest/apz_test_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ function buildApzcTree(paint) {
// 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++) {
Expand Down Expand Up @@ -293,8 +293,8 @@ function runSubtestsSeriallyInFreshWindows(aSubtests) {
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") {
Expand Down

0 comments on commit 691c47a

Please sign in to comment.