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

Issue 23646007: Fix bug in SkWriter32. (Closed)

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

Description

Fix bug in SkWriter32. If you give SkWriter32 external storage but that external storage is too small for the first reservation you make, you'll hit an assert in debug mode. I think the answer is to simply remove the SkASSERT. Added a test. BUG= R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=11062

Patch Set 1 #

Patch Set 2 : tweak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M src/core/SkWriter32.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M tests/Writer32Test.cpp View 1 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
mtklein
7 years, 3 months ago (2013-08-30 15:13:55 UTC) #1
reed1
lgtm
7 years, 3 months ago (2013-09-03 17:36:54 UTC) #2
mtklein
7 years, 3 months ago (2013-09-03 18:07:13 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r11062 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698