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

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

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index 34c9ed1bbc664ad1e3e70f00512b08170a85ff1f..e8f806db5ebb1f69f92d32a9ecc61a4ca020454e 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -149,8 +149,7 @@ public:
bool overlapsResizer() const { return m_overlapsResizer; }
void setOverlapsResizer(bool overlapsResizer) { m_overlapsResizer = overlapsResizer; }
- DisplayItemClient displayItemClient() const override { return toDisplayItemClient(this); }
- String debugName() const override { return m_orientation == HorizontalScrollbar ? "HorizontalScrollbar" : "VerticalScrollbar"; }
+ String debugName() const final { return m_orientation == HorizontalScrollbar ? "HorizontalScrollbar" : "VerticalScrollbar"; }
void setNeedsPaintInvalidation();

Powered by Google App Engine
This is Rietveld 408576698