summaryrefslogtreecommitdiffstats
path: root/ui/gfx/skbitmap_operations.h
diff options
context:
space:
mode:
authordpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 20:47:22 +0000
committerdpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 20:47:22 +0000
commit37cbcfeb1c02033b2785c7aeb321f99ad9f65821 (patch)
treee83848800dc5cd5477e3480dbff3166ead14750f /ui/gfx/skbitmap_operations.h
parent3b6ea292868e9677ac4261235e7a8c82e1e177d8 (diff)
downloadchromium_src-37cbcfeb1c02033b2785c7aeb321f99ad9f65821.zip
chromium_src-37cbcfeb1c02033b2785c7aeb321f99ad9f65821.tar.gz
chromium_src-37cbcfeb1c02033b2785c7aeb321f99ad9f65821.tar.bz2
Coverity PASS_BY_VALUE bug fixes
BUG=CIDs 8731,9102,15473,6809 TEST=NONE Review URL: http://codereview.chromium.org/6670025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/skbitmap_operations.h')
-rw-r--r--ui/gfx/skbitmap_operations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/skbitmap_operations.h b/ui/gfx/skbitmap_operations.h
index cde09cb..dce8e3c 100644
--- a/ui/gfx/skbitmap_operations.h
+++ b/ui/gfx/skbitmap_operations.h
@@ -62,7 +62,7 @@ class SkBitmapOperations {
// 0.5 = leave unchanged.
// 1 = full lightness (make all pixels white).
static SkBitmap CreateHSLShiftedBitmap(const SkBitmap& bitmap,
- color_utils::HSL hsl_shift);
+ const color_utils::HSL& hsl_shift);
// Create a bitmap that is cropped from another bitmap. This is special
// because it tiles the original bitmap, so your coordinates can extend