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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp

Issue 2836813002: Move ScrollbarManager from core to platform and use as Scrollbar parent (Closed)
Patch Set: 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/platform/scroll/Scrollbar.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index 0cc3aa168cc781f4b65e8058ebfa727a2c691ea6..6384fd99b2e805f3f4908c73a8188bf01d711087 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -572,7 +572,7 @@ bool Scrollbar::IsWindowActive() const {
IntPoint Scrollbar::ConvertFromRootFrame(
const IntPoint& point_in_root_frame) const {
- if (const FrameViewBase* parent = Parent()) {
+ if (const ScrollbarManager* parent = Parent()) {
IntPoint parent_point = parent->ConvertFromRootFrame(point_in_root_frame);
if (scrollable_area_) {
return scrollable_area_->ConvertFromContainingFrameViewBaseToScrollbar(
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.h ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698