summaryrefslogtreecommitdiffstats
path: root/views/controls/link.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-01 17:59:47 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-01 17:59:47 +0000
commit4d81c24b31a7a3d7cfb985d9d35e34fc319c077e (patch)
treed32e11807b3da44c8acc67b221f7d4bbfe83bc0a /views/controls/link.cc
parentd662b905d30cec7899bbb15140dcfacd73506167 (diff)
downloadchromium_src-4d81c24b31a7a3d7cfb985d9d35e34fc319c077e.zip
chromium_src-4d81c24b31a7a3d7cfb985d9d35e34fc319c077e.tar.gz
chromium_src-4d81c24b31a7a3d7cfb985d9d35e34fc319c077e.tar.bz2
views: Make View::SetFocusable() a simple setter accessor.
BUG=72040 TEST=None R=ben@chromium.org Review URL: http://codereview.chromium.org/7096015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/link.cc')
-rw-r--r--views/controls/link.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/link.cc b/views/controls/link.cc
index 1ffbf56..68b8c41 100644
--- a/views/controls/link.cc
+++ b/views/controls/link.cc
@@ -69,14 +69,14 @@ Link::Link() : Label(L""),
listener_(NULL),
highlighted_(false) {
Init();
- SetFocusable(true);
+ set_focusable(true);
}
Link::Link(const std::wstring& title) : Label(title),
listener_(NULL),
highlighted_(false) {
Init();
- SetFocusable(true);
+ set_focusable(true);
}
void Link::Init() {