Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index 78cc863c00f7c60c6398c8324003374d91bb8047..1578635b4849ea7dd50128aaa5b85480f0eaa654 100644 |
--- a/Source/core/layout/LayoutBox.cpp |
+++ b/Source/core/layout/LayoutBox.cpp |
@@ -711,14 +711,11 @@ int LayoutBox::intrinsicScrollbarLogicalWidth() const |
return 0; |
} |
-bool LayoutBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta) |
+bool LayoutBox::scroll(ScrollDirectionPhysical direction, ScrollGranularity granularity, float delta) |
{ |
// Presumably the same issue as in setScrollTop. See crbug.com/343132. |
DisableCompositingQueryAsserts disabler; |
- // Logical scroll is a higher level concept, all directions by here must be physical |
- ASSERT(!isLogical(direction)); |
- |
if (!layer() || !layer()->scrollableArea()) |
return false; |