Bug 1522338 - Minor comment updates. r=kats
authorBotond Ballo <botond@mozilla.com>
Mon, 04 Feb 2019 18:32:51 +0000
changeset 456707 9a89870ef4afeda89a89d3befbe131e7a2fd56ac
parent 456706 de85c14ece3e062d8b40a2e3d543f12014a775ec
child 456708 229307bbba0b972a378f48ba62a2909732b79ece
push id35504
push usercsabou@mozilla.com
push dateTue, 05 Feb 2019 21:57:12 +0000
treeherdermozilla-central@1e374e23c02f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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 1522338 - Minor comment updates. r=kats Differential Revision: https://phabricator.services.mozilla.com/D18109
--- a/gfx/layers/apz/src/APZCTreeManager.cpp
+++ b/gfx/layers/apz/src/APZCTreeManager.cpp
@@ -3185,17 +3185,17 @@ APZCTreeManager::ComputeTransformForScro
       // actually rendered at a larger scale.
       yTranslation *= aMetrics.GetPresShellResolution();
     scrollbarTransform.PostScale(1.f, yScale, 1.f);
     scrollbarTransform.PostTranslate(0, yTranslation, 0);
   if (*aScrollbarData.mDirection == ScrollDirection::eHorizontal) {
-    // See detailed comments under the VERTICAL case.
+    // See detailed comments under the eVertical case.
     const ParentLayerCoord asyncScrollX = asyncTransform._41;
     const float asyncZoomX = asyncTransform._11;
     const float xScale = 1.f / asyncZoomX;
     const CSSToParentLayerScale effectiveZoom(aMetrics.GetZoom().xScale *
--- a/gfx/layers/apz/src/APZCTreeManager.h
+++ b/gfx/layers/apz/src/APZCTreeManager.h
@@ -507,17 +507,17 @@ class APZCTreeManager : public IAPZCTree
    *    layer, as returned by Layer::GetLocalTransform() or similar.
    * @param aScrollableContentTransform The current content transform on the
    *    scrollable content, as returned by Layer::GetTransform().
    * @param aApzc The APZC that scrolls the scroll frame.
    * @param aMetrics The metrics associated with the scroll frame, reflecting
    *    the last paint of the associated content. Note: this metrics should
    *    NOT reflect async scrolling, i.e. they should be the layer tree's
    *    copy of the metrics, or APZC's last-content-paint metrics.
-   * @param aThumbData The scroll thumb data for the the scroll thumb layer.
+   * @param aScrollbarData The scrollbar data for the the scroll thumb layer.
    * @param aScrollbarIsDescendant True iff. the scroll thumb layer is a
    *    descendant of the layer bearing the scroll frame's metrics.
    * @param aOutClipTransform If not null, and |aScrollbarIsDescendant| is true,
    *    this will be populated with a transform that should be applied to the
    *    clip rects of all layers between the scroll thumb layer and the ancestor
    *    layer for the scrollable content.
    * @return The new shadow transform for the scroll thumb layer, including
    *    any pre- or post-scales.