summaryrefslogtreecommitdiffstats
path: root/views/controls/label.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-27 22:53:11 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-27 22:53:11 +0000
commit754b00892f26fe56ed59e8659e517ef4097f101a (patch)
tree4fb7d28025e37e9a5360baaccd221666976cab2c /views/controls/label.cc
parent7ecf29ce9af999e31929e8795d8d020d95219276 (diff)
downloadchromium_src-754b00892f26fe56ed59e8659e517ef4097f101a.zip
chromium_src-754b00892f26fe56ed59e8659e517ef4097f101a.tar.gz
chromium_src-754b00892f26fe56ed59e8659e517ef4097f101a.tar.bz2
views: Make View::GetBaseline() a const method.
BUG=72040 TEST=None R=ben@chromium.org Review URL: http://codereview.chromium.org/7086008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/label.cc')
-rw-r--r--views/controls/label.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/label.cc b/views/controls/label.cc
index dc5c4de..fc392aa 100644
--- a/views/controls/label.cc
+++ b/views/controls/label.cc
@@ -176,7 +176,7 @@ gfx::Insets Label::GetInsets() const {
return insets;
}
-int Label::GetBaseline() {
+int Label::GetBaseline() const {
return GetInsets().top() + font_.GetBaseline();
}