Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Issue 118456: Fix a unit test failure. One of the tests sends an empty bitmap through this... (Closed)

Created:
11 years, 6 months ago by brettw
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix a unit test failure. One of the tests sends an empty bitmap through this function, which has no config, and the assertion fails. I just removed the assretion, we assume ARGB8888 everywhere. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17976

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M skia/ext/image_operations.cc View 2 chunks +1 line, -3 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
brettw
TBR
11 years, 6 months ago (2009-06-09 21:06:06 UTC) #1
Peter Kasting
http://codereview.chromium.org/118456/diff/1/2 File skia/ext/image_operations.cc (left): http://codereview.chromium.org/118456/diff/1/2#oldcode629 Line 629: DCHECK(bitmap.getConfig() == SkBitmap::kARGB_8888_Config); Instead of removing this, the ...
11 years, 6 months ago (2009-06-09 21:10:45 UTC) #2
brettw
I am not concerned about this at all. We will fail in 1000 different wans ...
11 years, 6 months ago (2009-06-09 21:12:49 UTC) #3
cpu_(ooo_6.6-7.5)
11 years, 6 months ago (2009-06-09 21:55:07 UTC) #4
I mentioned because I assumed that was somewhat standard practice to check the
type of bitmap. If it is not standard practice to set/check it then LGTM. 


On 2009/06/09 21:12:49, brettw wrote:
> I am not concerned about this at all. We will fail in 1000 different wans for
> non 8888 bitmaps, plus getAddr32 below will fail and the error will not be
> obscure. I only added this at the last minute when Carlos mentioned it.

Powered by Google App Engine
This is Rietveld 408576698