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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 2911103002: Revert of Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index a809678509a1b18d18110abeb97494cd25218260..25b883ebf0fa906646777e82588612d6dbeac47c 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -61,7 +61,6 @@
#include "platform/graphics/GraphicsLayer.h"
#include "platform/loader/fetch/ResourceFetcher.h"
#include "platform/plugins/PluginData.h"
-#include "platform/scroll/SmoothScrollSequencer.h"
#include "public/platform/Platform.h"
namespace blink {
@@ -173,13 +172,6 @@
return *page_scale_constraints_set_;
}
-SmoothScrollSequencer* Page::GetSmoothScrollSequencer() {
- if (!smooth_scroll_sequencer_)
- smooth_scroll_sequencer_ = new SmoothScrollSequencer();
-
- return smooth_scroll_sequencer_.Get();
-}
-
const PageScaleConstraintsSet& Page::GetPageScaleConstraintsSet() const {
return *page_scale_constraints_set_;
}
@@ -634,7 +626,6 @@
visitor->Trace(context_menu_controller_);
visitor->Trace(pointer_lock_controller_);
visitor->Trace(scrolling_coordinator_);
- visitor->Trace(smooth_scroll_sequencer_);
visitor->Trace(browser_controls_);
visitor->Trace(console_message_storage_);
visitor->Trace(event_handler_registry_);
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698