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

Unified Diff: third_party/WebKit/Source/core/paint/ScrollbarManager.cpp

Issue 2501493002: Revert "MainFrame scrollbars should work with RFV instead of FV" (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
Index: third_party/WebKit/Source/core/paint/ScrollbarManager.cpp
diff --git a/third_party/WebKit/Source/core/paint/ScrollbarManager.cpp b/third_party/WebKit/Source/core/paint/ScrollbarManager.cpp
index a26706502f64eec505b8f64305c043f1003a06dd..48c01732a52c63857b77cace90c02d835eed21cc 100644
--- a/third_party/WebKit/Source/core/paint/ScrollbarManager.cpp
+++ b/third_party/WebKit/Source/core/paint/ScrollbarManager.cpp
@@ -17,15 +17,6 @@ DEFINE_TRACE(ScrollbarManager) {
visitor->trace(m_vBar);
}
-void ScrollbarManager::setScroller(ScrollableArea* scroller) {
- DCHECK(m_scrollableArea != scroller);
- DCHECK(scroller);
- DCHECK(scroller->isRootFrameViewport() || scroller->isFrameView() ||
- scroller->isPaintLayerScrollableArea());
- dispose();
- m_scrollableArea = scroller;
-}
-
void ScrollbarManager::dispose() {
m_hBarIsAttached = m_vBarIsAttached = 0;
destroyScrollbar(HorizontalScrollbar);
« no previous file with comments | « third_party/WebKit/Source/core/paint/ScrollbarManager.h ('k') | third_party/WebKit/Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698