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

Issue 26273006: Check lockPixel failure in SkBitmapProcState (Closed)

Created:
7 years, 2 months ago by Xianzhu
Modified:
7 years, 2 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Check lockPixel failure in SkBitmapProcState crbug.com/295895 is about a crash in Skia when a lazy-decoded image fails to lockPixels() because of broken data. Check lockPixel failure to avoid the crash. BUG=chromium:295895 TEST=open chrome/src/third_party/WebKit/LayoutTests/canvas/philip/images/broken.png in a browser with lazy-decoding enabled (e.g. Chrome Android).

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/core/SkBitmapProcState.cpp View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
reed1
7 years, 2 months ago (2013-10-15 18:23:44 UTC) #1
I have written a test case (local to skia) that *seems* to fail in the same
manner. This CL fixes that. Can you try out this CL to see if it fixes your
failure as well?

https://codereview.chromium.org/27382002

Powered by Google App Engine
This is Rietveld 408576698