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

Issue 155547: Don't try to set transparency on pixbufs that don't have any transparency.... (Closed)

Created:
11 years, 5 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
dank
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Don't try to set transparency on pixbufs that don't have any transparency channel. Also add DCHECK to make sure the assumption rowstride >= width * 4 is true. The reason this didn't cause any crashes or graphical corruption is because the non-transparent images don't have any white in them (luckily we are not making a browser for an ipod). BUG=16749 TEST=valgrind the browser, open find bar Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20701

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M chrome/browser/gtk/nine_box.cc View 1 chunk +12 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Evan Stade
11 years, 5 months ago (2009-07-15 00:49:35 UTC) #1
dank
11 years, 5 months ago (2009-07-15 00:51:48 UTC) #2
LGTM, thanks for the quick turnaround!

Powered by Google App Engine
This is Rietveld 408576698