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

Unified Diff: sky/engine/platform/exported/WebScrollbarImpl.cpp

Issue 681293005: Remove getTickmarks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/platform/exported/WebScrollbarImpl.h ('k') | sky/engine/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/exported/WebScrollbarImpl.cpp
diff --git a/sky/engine/platform/exported/WebScrollbarImpl.cpp b/sky/engine/platform/exported/WebScrollbarImpl.cpp
index 031cff347384a968f973873b8333e01e03411576..75fdeec15d1cbe81373774e896cb865cd3f787f7 100644
--- a/sky/engine/platform/exported/WebScrollbarImpl.cpp
+++ b/sky/engine/platform/exported/WebScrollbarImpl.cpp
@@ -76,18 +76,6 @@ bool WebScrollbarImpl::isScrollableAreaActive() const
return m_scrollbar->isScrollableAreaActive();
}
-void WebScrollbarImpl::getTickmarks(WebVector<WebRect>& webTickmarks) const
-{
- Vector<IntRect> tickmarks;
- m_scrollbar->getTickmarks(tickmarks);
-
- WebVector<WebRect> result(tickmarks.size());
- for (size_t i = 0; i < tickmarks.size(); ++i)
- result[i] = tickmarks[i];
-
- webTickmarks.swap(result);
-}
-
WebScrollbar::ScrollbarPart WebScrollbarImpl::pressedPart() const
{
return static_cast<WebScrollbar::ScrollbarPart>(m_scrollbar->pressedPart());
« no previous file with comments | « sky/engine/platform/exported/WebScrollbarImpl.h ('k') | sky/engine/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698