Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2834393003: Re-enable ScrollbarAnimationController::DidRequestShowFromMainThread. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698