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-08-22 21:16:40 +03:00
|
|
|
index 2ffea4d9b7890ff6760c4226875adfbda90d476b..c3cf1992340c8f844d6540068264fa97dbca6958 100644
|
2018-09-14 08:02:16 +03:00
|
|
|
--- a/content/renderer/render_thread_impl.cc
|
|
|
|
+++ b/content/renderer/render_thread_impl.cc
|
2024-08-20 17:54:27 +03:00
|
|
|
@@ -1281,7 +1281,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() {
|