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

Unified Diff: branches/chromium/1537/Source/core/page/FrameView.cpp

Issue 18859005: Revert 153686 "Merge 153364 "Call didProgrammaticallyScroll only..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 5 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
Index: branches/chromium/1537/Source/core/page/FrameView.cpp
===================================================================
--- branches/chromium/1537/Source/core/page/FrameView.cpp (revision 153687)
+++ branches/chromium/1537/Source/core/page/FrameView.cpp (working copy)
@@ -1579,8 +1579,7 @@
if (newScrollPosition == scrollPosition())
return;
- Page* page = m_frame->page();
- if (page && RuntimeEnabledFeatures::programmaticScrollNotificationsEnabled())
+ if (Page* page = m_frame->page())
page->chrome().client()->didProgrammaticallyScroll(m_frame.get(), newScrollPosition);
if (requestScrollPositionUpdate(newScrollPosition))

Powered by Google App Engine
This is Rietveld 408576698