Bug 1321885 - Update an out-of-date comment in AsyncPanZoomController.cpp. r=kats draft
authorBotond Ballo <botond@mozilla.com>
Mon, 21 Nov 2016 19:25:32 -0500
changeset 447180 effeb33dca0ea5ed6c4e4fa2120383c3b4d28d0b
parent 447179 b601b7e605c7ad0ba0d09c9c1e2405282fe0d700
child 447181 5b752200fec4c72e4c532aeba142d07bc6470a39
push id38008
push userbballo@mozilla.com
push dateFri, 02 Dec 2016 22:13:11 +0000
reviewerskats
bugs1321885
milestone53.0a1
Bug 1321885 - Update an out-of-date comment in AsyncPanZoomController.cpp. r=kats MozReview-Commit-ID: 2glK42uCFBs
gfx/layers/apz/src/AsyncPanZoomController.h
--- a/gfx/layers/apz/src/AsyncPanZoomController.h
+++ b/gfx/layers/apz/src/AsyncPanZoomController.h
@@ -747,20 +747,19 @@ public:
    * a layer's position.
    */
   enum AsyncMode {
     NORMAL,
     RESPECT_FORCE_DISABLE,
   };
 
   /**
-   * Query the transforms that should be applied to the layer corresponding
-   * to this APZC due to asynchronous panning and zooming.
-   * This function returns the async transform via the |aOutTransform|
-   * out parameter.
+   * Get the current scroll offset of the scrollable frame corresponding
+   * to this APZC, including the effects of any asynchronous panning and
+   * zooming, in ParentLayer pixels.
    */
   ParentLayerPoint GetCurrentAsyncScrollOffset(AsyncMode aMode) const;
 
   /**
    * Return a visual effect that reflects this apzc's
    * overscrolled state, if any.
    */
   AsyncTransformComponentMatrix GetOverscrollTransform(AsyncMode aMode) const;