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

Unified Diff: third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm

Issue 2730773003: Rename FrameViewBase fields and methods *Widget* to ...FrameViewBase... (Closed)
Patch Set: Created 3 years, 10 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/platform/mac/ScrollAnimatorMac.mm
diff --git a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
index ff066d6147c5f3d451156365b195b1c8f920e7d9..7313cccb5c6d533a2908ae7294cde018c0a44583 100644
--- a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
+++ b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
@@ -235,7 +235,7 @@ static NSSize abs(NSSize size) {
ASSERT(scrollerImp == scrollbarPainterForScrollbar(*scrollbar));
- return scrollbar->convertFromContainingWidget(
+ return scrollbar->convertFromContainingFrameViewBase(
blink::IntPoint(pointInContentArea));
}
@@ -493,7 +493,7 @@ class BlinkScrollbarPartAnimationTimer {
DCHECK_EQ(scrollerImp, scrollbarPainterForScrollbar(*_scrollbar));
- return _scrollbar->convertFromContainingWidget(
+ return _scrollbar->convertFromContainingFrameViewBase(
_scrollbar->getScrollableArea()->lastKnownMousePosition());
}
@@ -1072,7 +1072,7 @@ void ScrollAnimatorMac::setVisibleScrollerThumbRect(
IntRect rectInViewCoordinates = scrollerThumb;
if (Scrollbar* verticalScrollbar = m_scrollableArea->verticalScrollbar())
rectInViewCoordinates =
- verticalScrollbar->convertToContainingWidget(scrollerThumb);
+ verticalScrollbar->convertToContainingFrameViewBase(scrollerThumb);
if (rectInViewCoordinates == m_visibleScrollerThumbRect)
return;
« no previous file with comments | « third_party/WebKit/Source/platform/FrameViewBase.cpp ('k') | third_party/WebKit/Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698