summaryrefslogtreecommitdiff
path: root/gfx/layers/apz/src/APZCTreeManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/src/APZCTreeManager.cpp')
-rw-r--r--gfx/layers/apz/src/APZCTreeManager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gfx/layers/apz/src/APZCTreeManager.cpp b/gfx/layers/apz/src/APZCTreeManager.cpp
index 00eb3f1834..297bf57fe2 100644
--- a/gfx/layers/apz/src/APZCTreeManager.cpp
+++ b/gfx/layers/apz/src/APZCTreeManager.cpp
@@ -1854,10 +1854,8 @@ APZCTreeManager::FindRootContentOrRootApzc() const
{
mTreeLock.AssertCurrentThreadOwns();
- // Note: this is intended to find the same "root" that would be found
- // by AsyncCompositionManager::ApplyAsyncContentTransformToTree inside
- // the MOZ_WIDGET_ANDROID block. That is, it should find the RCD node if there
- // is one, or the root APZC if there is not.
+ // Note: this should find the RCD node if there is one, or the root APZC if
+ // there is not.
// Since BreadthFirstSearch is a pre-order search, we first do a search for
// the RCD, and then if we don't find one, we do a search for the root APZC.
HitTestingTreeNode* resultNode = BreadthFirstSearch<ReverseIterator>(mRootNode.get(),