diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 02:31:07 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 02:31:07 +0000 |
commit | 014783448b8fefe9744b8554f69285fbaaa64a70 (patch) | |
tree | b79a581844d1ea68172f89adf8546cd385dc3c0e /views | |
parent | b5a4baf0709ee36e981e1d3ec52e9b9fd6ae1dd9 (diff) | |
download | chromium_src-014783448b8fefe9744b8554f69285fbaaa64a70.zip chromium_src-014783448b8fefe9744b8554f69285fbaaa64a70.tar.gz chromium_src-014783448b8fefe9744b8554f69285fbaaa64a70.tar.bz2 |
Fix a comment in views/border.h.
Change views->SetBorder(...) to views->set_border(...).
The latter is the right function name in views/view.h:
// The border object is owned by this object and may be NULL.
void set_border(Border* b) { border_.reset(b); }
const Border* border() const { return border_.get(); }
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/405032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/border.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/border.h b/views/border.h index 0e9a41c..78b64dd 100644 --- a/views/border.h +++ b/views/border.h @@ -23,7 +23,7 @@ class View; // // The border class is used to display a border around a view. // To set a border on a view, just call SetBorder on the view, for example: -// view->SetBorder(Border::CreateSolidBorder(1, SkColorSetRGB(25, 25, 112)); +// view->set_border(Border::CreateSolidBorder(1, SkColorSetRGB(25, 25, 112)); // Once set on a view, the border is owned by the view. // // IMPORTANT NOTE: not all views support borders at this point. In order to |