2018-10-24 21:24:11 +03:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-21 03:30:26 +03: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-14 08:02:16 +03:00
|
|
|
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
2024-11-09 03:12:42 +03:00
|
|
|
index 95f0b2613caa557921180e131ab3ca29d661492a..fac396c3d9d8ee407c48b1d08256f972370805b7 100644
|
2018-09-14 08:02:16 +03:00
|
|
|
--- a/content/renderer/render_thread_impl.cc
|
|
|
|
+++ b/content/renderer/render_thread_impl.cc
|
2024-11-09 03:12:42 +03:00
|
|
|
@@ -1306,7 +1306,7 @@ bool RenderThreadImpl::IsLcdTextEnabled() {
|
2018-09-14 08:02:16 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool RenderThreadImpl::IsElasticOverscrollEnabled() {
|
|
|
|
- return is_elastic_overscroll_enabled_;
|
|
|
|
+ return base::CommandLine::ForCurrentProcess()->HasSwitch("scroll-bounce");
|
|
|
|
}
|
|
|
|
|
2021-05-20 02:15:47 +03:00
|
|
|
gpu::GpuMemoryBufferManager* RenderThreadImpl::GetGpuMemoryBufferManager() {
|