2018-10-24 11:24:11 -07:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-20 17:30:26 -07:00
|
|
|
From: Cheng Zhao <zcbenz@gmail.com>
|
|
|
|
Date: Thu, 20 Sep 2018 17:49:03 -0700
|
|
|
|
Subject: scroll_bounce_flag.patch
|
|
|
|
|
|
|
|
Patch to make scrollBounce option work.
|
|
|
|
|
2018-09-13 22:02:16 -07:00
|
|
|
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
2019-03-28 17:05:53 -07:00
|
|
|
index 01be4381e488e7171e02281e158cbad227f5ae09..7739228c99432dd66fda16614c40a50254294224 100644
|
2018-09-13 22:02:16 -07:00
|
|
|
--- a/content/renderer/render_thread_impl.cc
|
|
|
|
+++ b/content/renderer/render_thread_impl.cc
|
2019-02-26 13:31:29 -08:00
|
|
|
@@ -1535,7 +1535,7 @@ bool RenderThreadImpl::IsGpuMemoryBufferCompositorResourcesEnabled() {
|
2018-09-13 22:02:16 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
bool RenderThreadImpl::IsElasticOverscrollEnabled() {
|
|
|
|
- return is_elastic_overscroll_enabled_;
|
|
|
|
+ return base::CommandLine::ForCurrentProcess()->HasSwitch("scroll-bounce");
|
|
|
|
}
|
|
|
|
|
2018-09-20 17:30:26 -07:00
|
|
|
bool RenderThreadImpl::IsUseZoomForDSFEnabled() {
|