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

Unified Diff: Source/web/PopupListBox.h

Issue 662733002: Clamp scroll offset to min/max in PopupListBox::updateScrollbars. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « no previous file | Source/web/PopupListBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PopupListBox.h
diff --git a/Source/web/PopupListBox.h b/Source/web/PopupListBox.h
index 1e16b7a0d34425e503b57def3ba06bfb64f73e25..1187d06ed0d618e6dd5a9b418ca7acb7504429fb 100644
--- a/Source/web/PopupListBox.h
+++ b/Source/web/PopupListBox.h
@@ -243,7 +243,7 @@ private:
int scrollX() const { return scrollPosition().x(); }
int scrollY() const { return scrollPosition().y(); }
- void updateScrollbars(const IntPoint& desiredOffset);
+ void updateScrollbars(IntPoint desiredOffset);
void setHasVerticalScrollbar(bool);
Scrollbar* scrollbarAtWindowPoint(const IntPoint& windowPoint);
IntRect contentsToWindow(const IntRect&) const;
« no previous file with comments | « no previous file | Source/web/PopupListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698