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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2849383002: Remove FrameView::Root (Closed)
Patch Set: merge Created 3 years, 8 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 542638cc60e7f3ee01de268029f41c582d0ef704..5e8e7341e02c6ab8a2594ca484eea4a8b104ed0b 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3848,13 +3848,6 @@ void FrameView::RemoveAnimatingScrollableArea(ScrollableArea* scrollable_area) {
animating_scrollable_areas_->erase(scrollable_area);
}
-FrameView* FrameView::Root() const {
- const FrameView* top = this;
- while (top->Parent())
- top = ToFrameView(top->Parent());
- return const_cast<FrameView*>(top);
-}
-
void FrameView::SetParent(FrameViewBase* parent_frame_view_base) {
FrameView* parent = ToFrameView(parent_frame_view_base);
if (parent == parent_)
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698