Commit fa767ff2 authored by Mikio Hara's avatar Mikio Hara Committed by Russ Cox

image/jpeg: fix build

R=golang-dev
CC=golang-dev
https://golang.org/cl/5020045
parent 1a35450a
......@@ -90,7 +90,7 @@ func TestWriter(t *testing.T) {
func BenchmarkEncodeRGBOpaque(b *testing.B) {
b.StopTimer()
img := image.NewRGBA(640, 480)
img := image.NewRGBA(image.Rect(0, 0, 640, 480))
// Set all pixels to 0xFF alpha to force opaque mode.
bo := img.Bounds()
rnd := rand.New(rand.NewSource(123))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment