From be93207c8f19a601551dd6021f13b3c964aa258a Mon Sep 17 00:00:00 2001 From: Benny Siegert Date: Thu, 19 Jan 2012 09:34:37 +1100 Subject: [PATCH] image/color: rename modelYCbCr to yCbCrModel. This matches the other color models. It seems that this was missed during the review of 5544073. R=nigeltao, david.crawshaw CC=golang-dev https://golang.org/cl/5536057 --- src/pkg/image/color/ycbcr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/image/color/ycbcr.go b/src/pkg/image/color/ycbcr.go index c6b9ba08db..4c2f29ea02 100644 --- a/src/pkg/image/color/ycbcr.go +++ b/src/pkg/image/color/ycbcr.go @@ -87,9 +87,9 @@ func (c YCbCr) RGBA() (uint32, uint32, uint32, uint32) { } // YCbCrModel is the Model for Y'CbCr colors. -var YCbCrModel Model = ModelFunc(modelYCbCr) +var YCbCrModel Model = ModelFunc(yCbCrModel) -func modelYCbCr(c Color) Color { +func yCbCrModel(c Color) Color { if _, ok := c.(YCbCr); ok { return c } -- 2.48.1