cad2d8b4aa
* chore: bump chromium in DEPS to c04c17506a1b5941370b91dfa44eda7ec31e9793 * update patches * chore: bump chromium in DEPS to 8a4687263763f306659d04cef8f0a12a9e504d57 * chore: bump chromium in DEPS to 3a75ada69d1ac06d6903a2c981ab90a8162f1ba0 * update patches * chore: sync StartRemoteDebuggingPipeHandler usage CL: https://chromium-review.googlesource.com/c/chromium/src/+/2536354 Added 'on_disconnect' OnceClosure arg to StartRemoteDebuggingPipeHandler * chore: add WebSocketHandshakeClient::OnFailurea CL: https://chromium-review.googlesource.com/c/chromium/src/+/2527889 Add an empty stub to satisfy parent class' pure virtual method OnFailure(). NB: Use of empty impl comes from WebRequestProxyingWebSocket. Co-authored-by: Charles Kerr <charles@charleskerr.com>
20 lines
802 B
Diff
20 lines
802 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
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.
|
|
|
|
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
|
index 5a431390e7ab02a534a76e5624223c267c65af4c..ef2d6fbdf4f38c93afd30b57f4d7fd8ac63b1947 100644
|
|
--- a/content/renderer/render_thread_impl.cc
|
|
+++ b/content/renderer/render_thread_impl.cc
|
|
@@ -1293,7 +1293,7 @@ bool RenderThreadImpl::IsLcdTextEnabled() {
|
|
}
|
|
|
|
bool RenderThreadImpl::IsElasticOverscrollEnabled() {
|
|
- return is_elastic_overscroll_enabled_;
|
|
+ return base::CommandLine::ForCurrentProcess()->HasSwitch("scroll-bounce");
|
|
}
|
|
|
|
bool RenderThreadImpl::IsUseZoomForDSFEnabled() {
|