diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-23 08:56:20 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-23 08:56:20 +0000 |
commit | 3a483454db080bfbc2d0a7ce4daa445ce9b3d2cd (patch) | |
tree | 202909ab5a600c78e94ad381e3e277ea1ea1a27a /gpu/command_buffer/service | |
parent | 654e5bbe0948dcb686d7ecb50def3a2a729e8ddb (diff) | |
download | chromium_src-3a483454db080bfbc2d0a7ce4daa445ce9b3d2cd.zip chromium_src-3a483454db080bfbc2d0a7ce4daa445ce9b3d2cd.tar.gz chromium_src-3a483454db080bfbc2d0a7ce4daa445ce9b3d2cd.tar.bz2 |
Add GridLayout::SetInsets(const gfx::Insets& insets).
Per the style guide, function overloading like this is allowed.
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Overloading#Function_Overloading
I wanted this API so I could define and use a constant like:
const gfx::Insets kSomeInsets(1, 2, 3, 4);
layout->SetInsets(kSomeInsets);
BUG=none
TEST=try
Review URL: http://codereview.chromium.org/509027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service')
0 files changed, 0 insertions, 0 deletions