summaryrefslogtreecommitdiffstats
path: root/gfx/layers/apz/src/SampledAPZCState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/src/SampledAPZCState.cpp')
-rw-r--r--gfx/layers/apz/src/SampledAPZCState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/layers/apz/src/SampledAPZCState.cpp b/gfx/layers/apz/src/SampledAPZCState.cpp
index 712a46a3b1..8cdd905aba 100644
--- a/gfx/layers/apz/src/SampledAPZCState.cpp
+++ b/gfx/layers/apz/src/SampledAPZCState.cpp
@@ -86,6 +86,8 @@ void SampledAPZCState::RemoveFractionalAsyncDelta() {
// a snapshot of APZ state (decoupling it from APZ assumptions) and provides
// it as an input to the compositor (so all compositor state should be
// internally consistent based on this input).
+ // TODO(bug 1889267): Now that we use WebRender everywhere, can this hack be
+ // removed?
if (mLayoutViewport.TopLeft() == mVisualScrollOffset) {
return;
}