Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index 89ca451fd2736d1b601190de7bccd0cedf59aba3..8830e6d73a5ec10607ba0f2e9e0e775bf7d17691 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -544,7 +544,12 @@ IntRect PaintLayerScrollableArea::VisibleContentRect( |
} |
void PaintLayerScrollableArea::VisibleSizeChanged() { |
+// TODO(skobes): For reasons not fully understood, showing scrollbars from |
+// main on viewport size changes regresses memory and perf tests on Android |
+// (crbug.com/706927, crbug.com/712453). |
+#if !OS(ANDROID) |
ShowOverlayScrollbars(); |
+#endif |
} |
int PaintLayerScrollableArea::VisibleHeight() const { |