summaryrefslogtreecommitdiff
path: root/gfx/layers/apz/util/APZEventState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/apz/util/APZEventState.cpp')
-rw-r--r--gfx/layers/apz/util/APZEventState.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/gfx/layers/apz/util/APZEventState.cpp b/gfx/layers/apz/util/APZEventState.cpp
index 20a41eed5a..00a18d7b26 100644
--- a/gfx/layers/apz/util/APZEventState.cpp
+++ b/gfx/layers/apz/util/APZEventState.cpp
@@ -479,11 +479,8 @@ APZEventState::ProcessAPZStateChange(ViewID aViewId,
void
APZEventState::ProcessClusterHit()
{
- // If we hit a cluster of links then we shouldn't activate any of them,
- // as we will be showing the zoomed view. (This is only called on Fennec).
-#ifndef MOZ_WIDGET_ANDROID
- MOZ_ASSERT(false);
-#endif
+ // If we hit a cluster of links then we shouldn't activate any of them.
+ MOZ_ASSERT(false, "Cluster hits shouldn't happen on desktop!");
mActiveElementManager->ClearActivation();
}