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

Issue 1381483002: Call rewindIfNeeded in SkCodec (Closed)

Created:
5 years, 2 months ago by scroggo
Modified:
5 years, 2 months ago
Reviewers:
msarett, djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@codecSDmerge
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Call rewindIfNeeded in SkCodec Rather than calling it in each subclass, call it once in the base class. Call it first, since other steps may modify internal structures which would be replaced by a call to onRewind. BUG=skia:4284 Committed: https://skia.googlesource.com/skia/+/3a7701c0101386ba05acdde6f911be0c2696f317

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -52 lines) Patch
M include/codec/SkCodec.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M src/codec/SkBmpCodec.cpp View 1 1 chunk +0 lines, -3 lines 0 comments Download
M src/codec/SkBmpMaskCodec.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M src/codec/SkBmpRLECodec.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M src/codec/SkBmpStandardCodec.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M src/codec/SkCodec.cpp View 1 3 chunks +14 lines, -0 lines 0 comments Download
M src/codec/SkCodec_libgif.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkCodec_libgif.cpp View 1 1 chunk +0 lines, -5 lines 0 comments Download
M src/codec/SkCodec_libpng.cpp View 1 3 chunks +0 lines, -11 lines 0 comments Download
M src/codec/SkCodec_wbmp.cpp View 1 2 chunks +0 lines, -6 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 chunks +0 lines, -10 lines 0 comments Download
M src/codec/SkWebpCodec.cpp View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
scroggo
5 years, 2 months ago (2015-09-29 17:47:15 UTC) #2
msarett
Rereading the bug description in 4284, it looks like this will not solve that problem. ...
5 years, 2 months ago (2015-09-30 12:19:37 UTC) #3
scroggo
On 2015/09/30 12:19:37, msarett wrote: > Rereading the bug description in 4284, it looks like ...
5 years, 2 months ago (2015-09-30 12:41:16 UTC) #4
msarett
Thanks for your clarifications. I definitely agree that this stands on its own as a ...
5 years, 2 months ago (2015-09-30 12:44:19 UTC) #5
djsollen
public api lgtm
5 years, 2 months ago (2015-09-30 12:57:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1381483002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1381483002/20001
5 years, 2 months ago (2015-09-30 16:08:14 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-09-30 16:15:18 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/3a7701c0101386ba05acdde6f911be0c2696f317

Powered by Google App Engine
This is Rietveld 408576698