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

Issue 1640793002: Consolidate SkStream copying methods (Closed)

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

Description

Consolidate SkStream copying methods Make SkCopyStreamToData call SkStreamCopy, removing duplicate code. The former still has its own method of copying with a length, since it saves one copy. BUG=skia:4788 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1640793002 Committed: https://skia.googlesource.com/skia/+/440c5a98dee428c661b77d149e30c794d264b8cd

Patch Set 1 #

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

Messages

Total messages: 13 (5 generated)
scroggo
4 years, 11 months ago (2016-01-27 17:08:23 UTC) #3
hal.canary
lgtm
4 years, 11 months ago (2016-01-27 18:39:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640793002/1
4 years, 11 months ago (2016-01-27 18:40:09 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/440c5a98dee428c661b77d149e30c794d264b8cd
4 years, 11 months ago (2016-01-27 18:51:59 UTC) #8
msarett
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1641853002/ by msarett@google.com. ...
4 years, 11 months ago (2016-01-27 20:06:09 UTC) #9
msarett
The bots seem happier, though I'm unsure if reverting this CL is what fixed them. ...
4 years, 11 months ago (2016-01-27 21:40:13 UTC) #11
msarett
I've circled back to this and still don't really understand how/if this caused a problem. ...
4 years, 10 months ago (2016-01-28 15:28:24 UTC) #12
hal.canary
4 years, 10 months ago (2016-01-28 15:36:30 UTC) #13
Message was sent while issue was closed.
On 2016/01/28 at 15:28:24, msarett wrote:
> I've circled back to this and still don't really understand how/if this caused
a problem.
> 
> The log messages on the bots don't say much.
>
https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Win8-MSVC-Sh...
> 
> Fine with me if you want to try to reland.

This would more closely replicate previous behavior:

    (void)SkStreamCopy(&tempStream, stream);
    return tempStream.copyToData();

Can we try that with the effected bots?

Powered by Google App Engine
This is Rietveld 408576698