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

Issue 1644893003: Avoid too small reads to bufferMoreData() (Closed)

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

Description

Patch Set 1 #

Total comments: 9

Patch Set 2 : Change the buffer size from 256 to 8192 #

Patch Set 3 : Address more comments #

Patch Set 4 : Update commit message #

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

Messages

Total messages: 33 (9 generated)
yujieqin
4 years, 10 months ago (2016-01-28 14:05:14 UTC) #4
adaubert
https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp#newcode270 src/codec/SkRawCodec.cpp:270: // Try to read at least 256 bytes to ...
4 years, 10 months ago (2016-01-28 14:20:25 UTC) #5
yujieqin
https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp#newcode270 src/codec/SkRawCodec.cpp:270: // Try to read at least 256 bytes to ...
4 years, 10 months ago (2016-01-28 14:27:44 UTC) #6
msarett
https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp#newcode270 src/codec/SkRawCodec.cpp:270: // Try to read at least 256 bytes to ...
4 years, 10 months ago (2016-01-28 16:23:44 UTC) #7
scroggo
https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp#newcode270 src/codec/SkRawCodec.cpp:270: // Try to read at least 256 bytes to ...
4 years, 10 months ago (2016-01-28 16:49:58 UTC) #8
msarett
https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp#newcode270 src/codec/SkRawCodec.cpp:270: // Try to read at least 256 bytes to ...
4 years, 10 months ago (2016-01-28 17:00:35 UTC) #9
yujieqin
On 2016/01/28 17:00:35, msarett wrote: > https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp > File src/codec/SkRawCodec.cpp (right): > > https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp#newcode270 > ...
4 years, 10 months ago (2016-02-01 11:26:51 UTC) #10
msarett
"And I can not run the test Android, not sure how to offer the testing ...
4 years, 10 months ago (2016-02-01 15:57:58 UTC) #11
yujieqin
https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp File src/codec/SkRawCodec.cpp (right): https://codereview.chromium.org/1644893003/diff/1/src/codec/SkRawCodec.cpp#newcode271 src/codec/SkRawCodec.cpp:271: const size_t minSizeToRead = 256; On 2016/01/28 16:49:57, scroggo ...
4 years, 10 months ago (2016-02-01 16:25:19 UTC) #12
yujieqin
On 2016/02/01 15:57:58, msarett wrote: > "And I > can not run the test Android, ...
4 years, 10 months ago (2016-02-01 16:54:46 UTC) #13
msarett
lgtm I've seen similar flakiness on Android. I always base my observations on the "minimum" ...
4 years, 10 months ago (2016-02-01 17:01:07 UTC) #14
yujieqin
On 2016/02/01 17:01:07, msarett wrote: > lgtm > > I've seen similar flakiness on Android. ...
4 years, 10 months ago (2016-02-01 17:10:38 UTC) #15
msarett
That's great!!! Please feel free to add some of those stats to the commit message.
4 years, 10 months ago (2016-02-01 17:39:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644893003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644893003/60001
4 years, 10 months ago (2016-02-02 09:06:13 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/fd918e8c739065fa467cf6614181d3a2c5dcadcb
4 years, 10 months ago (2016-02-02 09:21:44 UTC) #21
jcgregorio
On 2016/02/02 at 09:21:44, commit-bot wrote: > Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/fd918e8c739065fa467cf6614181d3a2c5dcadcb I'm going ...
4 years, 10 months ago (2016-02-02 13:32:51 UTC) #22
jcgregorio
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1656303002/ by jcgregorio@google.com. ...
4 years, 10 months ago (2016-02-02 13:35:46 UTC) #23
yujieqin
On 2016/02/02 13:32:51, jcgregorio wrote: > On 2016/02/02 at 09:21:44, commit-bot wrote: > > Committed ...
4 years, 10 months ago (2016-02-02 13:38:21 UTC) #24
msarett
I had the same thought. Yujie, you can select "Edit Issue" and click the checkbox ...
4 years, 10 months ago (2016-02-02 13:44:29 UTC) #26
msarett
Looks like the trybots are already running :).
4 years, 10 months ago (2016-02-02 13:45:04 UTC) #27
yujieqin
On 2016/02/02 13:45:04, msarett wrote: > Looks like the trybots are already running :). But ...
4 years, 10 months ago (2016-02-02 13:47:22 UTC) #28
yujieqin
On 2016/02/02 13:47:22, yujieqin wrote: > On 2016/02/02 13:45:04, msarett wrote: > > Looks like ...
4 years, 10 months ago (2016-02-02 15:59:04 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1644893003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1644893003/60001
4 years, 10 months ago (2016-02-02 16:06:15 UTC) #31
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 16:09:15 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/22000d1f8e2c554aec2f50a5a4cad0a5d04ca41c

Powered by Google App Engine
This is Rietveld 408576698