Bug 1321885 - Update an out-of-date comment in AsyncPanZoomController.cpp. r=kats
MozReview-Commit-ID: 2glK42uCFBs
--- 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;