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

Unified Diff: sky/engine/core/page/FocusController.cpp

Issue 878303002: Remove more scrolling code from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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 | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/core/page/Page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/FocusController.cpp
diff --git a/sky/engine/core/page/FocusController.cpp b/sky/engine/core/page/FocusController.cpp
index 3ca343301c5d2578d4715cd64abe303d0fecc15b..8c85fec0c71c31af704f2360f2b4f2d942c7941a 100644
--- a/sky/engine/core/page/FocusController.cpp
+++ b/sky/engine/core/page/FocusController.cpp
@@ -268,9 +268,6 @@ void FocusController::setFocused(bool focused)
m_isFocused = focused;
- if (!m_isFocused)
- focusedOrMainFrame()->eventHandler().stopAutoscroll();
-
if (!m_focusedFrame)
setFocusedFrame(m_page->mainFrame());
« no previous file with comments | « sky/engine/core/page/EventHandler.cpp ('k') | sky/engine/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698