Chromium Code Reviews| Index: src/views/animated/SkScrollBarView.cpp |
| =================================================================== |
| --- src/views/animated/SkScrollBarView.cpp (revision 8005) |
| +++ src/views/animated/SkScrollBarView.cpp (working copy) |
| @@ -122,12 +122,12 @@ |
| int total = fTotalLength; |
| int start = fStartPoint; |
| int shown = fShownLength; |
| - int hideBar = 0; |
| +// int hideBar = 0; |
|
sugoi
2013/03/06 16:14:59
The line using this variable is commented out.
|
| if (total <= 0 || shown <= 0 || shown >= total) // no bar to show |
| { |
| total = 1; // avoid divide-by-zero. should be done by skin/script |
| - hideBar = 1; // signal we don't want a thumb |
| +// hideBar = 1; // signal we don't want a thumb |
| } |
| else |
| { |