summaryrefslogtreecommitdiffstats
path: root/chrome/views/native_scroll_bar.cc
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 17:39:46 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-10 17:39:46 +0000
commit72d1e597c85fbf6b45756e3c753696370c48c042 (patch)
treed01609d62295e34aa3a5721d4109f815d0fd23ad /chrome/views/native_scroll_bar.cc
parent9475d1d189c03a0626c4855b38f6004bfe7c5bb8 (diff)
downloadchromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.zip
chromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.tar.gz
chromium_src-72d1e597c85fbf6b45756e3c753696370c48c042.tar.bz2
Slight code change to make some global variables const.
Fix >80 cols lines. Review URL: http://codereview.chromium.org/42013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/native_scroll_bar.cc')
-rw-r--r--chrome/views/native_scroll_bar.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/views/native_scroll_bar.cc b/chrome/views/native_scroll_bar.cc
index 5694d52..3bc2c7f 100644
--- a/chrome/views/native_scroll_bar.cc
+++ b/chrome/views/native_scroll_bar.cc
@@ -248,7 +248,9 @@ gfx::Size NativeScrollBar::GetPreferredSize() {
return gfx::Size(GetLayoutSize(), 0);
}
-void NativeScrollBar::Update(int viewport_size, int content_size, int current_pos) {
+void NativeScrollBar::Update(int viewport_size,
+ int content_size,
+ int current_pos) {
ScrollBar::Update(viewport_size, content_size, current_pos);
if (!sb_container_)
return;