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

Unified Diff: Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.h

Issue 26936002: Remove Widget's dependency upon its own inheritor aka ScrollView. This was nasty from an OO design… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Fix for clang compile error Created 7 years, 2 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: Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.h
diff --git a/Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.h b/Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.h
index 6e95378711f367c34bf1c3522e6eecd453a8e1aa..30e7738a8bacccd694b6d86467e1e7a56f6db69b 100644
--- a/Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.h
+++ b/Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.h
@@ -49,8 +49,8 @@ public:
virtual int height() const OVERRIDE;
virtual IntSize size() const OVERRIDE;
virtual IntPoint location() const OVERRIDE;
- virtual ScrollView* parent() const OVERRIDE;
- virtual ScrollView* root() const OVERRIDE;
+ virtual Widget* parent() const OVERRIDE;
+ virtual Widget* root() const OVERRIDE;
virtual void setFrameRect(const IntRect&) OVERRIDE;
virtual IntRect frameRect() const OVERRIDE;
virtual void invalidate() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698