diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-17 20:07:42 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-17 20:07:42 +0000 |
commit | ac89f0b08c4d660654b9396cc04e1c9a676707f8 (patch) | |
tree | ddf91320ac7fe3bf6dcc6f4aeafb401c7fdb3250 /ui/views/painter.cc | |
parent | 075969dc52d6b35c2607eb8078c33b3eedbef4c7 (diff) | |
download | chromium_src-ac89f0b08c4d660654b9396cc04e1c9a676707f8.zip chromium_src-ac89f0b08c4d660654b9396cc04e1c9a676707f8.tar.gz chromium_src-ac89f0b08c4d660654b9396cc04e1c9a676707f8.tar.bz2 |
views: Do not pass SkColor by const-reference as it's defined as POD(integer).
This is a follow up to r128782.
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10091049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132630 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/painter.cc')
-rw-r--r-- | ui/views/painter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/painter.cc b/ui/views/painter.cc index 2875d14..5df86e7 100644 --- a/ui/views/painter.cc +++ b/ui/views/painter.cc @@ -20,7 +20,7 @@ namespace { class GradientPainter : public Painter { public: - GradientPainter(bool horizontal, const SkColor& top, const SkColor& bottom) + GradientPainter(bool horizontal, SkColor top, SkColor bottom) : horizontal_(horizontal) { colors_[0] = top; colors_[1] = bottom; |