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

Unified Diff: Source/core/layout/LayoutListBox.cpp

Issue 1200853003: HTMLSelectElement size type changed to unsigned (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « Source/core/layout/LayoutListBox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListBox.cpp
diff --git a/Source/core/layout/LayoutListBox.cpp b/Source/core/layout/LayoutListBox.cpp
index bddeddebfbb0a2341ef77f786229fbf33a751f07..30b189616386b860dfd2850a49e411e005038084 100644
--- a/Source/core/layout/LayoutListBox.cpp
+++ b/Source/core/layout/LayoutListBox.cpp
@@ -86,9 +86,9 @@ inline HTMLSelectElement* LayoutListBox::selectElement() const
return toHTMLSelectElement(node());
}
-int LayoutListBox::size() const
+unsigned LayoutListBox::size() const
{
- int specifiedSize = selectElement()->size();
+ unsigned specifiedSize = selectElement()->size();
if (specifiedSize >= 1)
return specifiedSize;
« no previous file with comments | « Source/core/layout/LayoutListBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698