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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2489103002: Don't disable threaded input handling if rubberbanding is disabled. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index ebfac09d0234e261dfa0541562a73189c46c27e2..e3178a6e498edf9cd0ea8cd6b29a18a621c1245a 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1964,18 +1964,6 @@ void RenderViewImpl::initializeLayerTreeView() {
if (!rwc)
return;
- bool use_threaded_event_handling = true;
-#if defined(OS_MACOSX)
- // Disable threaded event handling if content is not handling the elastic
- // overscroll effect. This includes the cases where the elastic overscroll
- // effect is being handled by Blink (because of command line flags) and older
- // operating system versions which do not have an elastic overscroll effect
- // (SnowLeopard, which has Aqua scrollbars which need synchronous updates).
- use_threaded_event_handling = compositor_deps_->IsElasticOverscrollEnabled();
-#endif
- if (!use_threaded_event_handling)
- return;
-
RenderThreadImpl* render_thread = RenderThreadImpl::current();
// render_thread may be NULL in tests.
InputHandlerManager* input_handler_manager =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698