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

Issue 12753007: Update gm so it doe not write the size of the pdf (writeData writes the length of the data too) (Closed)

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

Description

Update gm so it doe not write the size of the pdf (writeData writes the length of the data too)

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M gm/gmmain.cpp View 1 chunk +1 line, -1 line 3 comments Download

Messages

Total messages: 8 (0 generated)
edisonn
7 years, 9 months ago (2013-03-15 16:29:58 UTC) #1
epoger
Please get Mike to review this, for the reasons given below. https://codereview.chromium.org/12753007/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): ...
7 years, 9 months ago (2013-03-15 17:01:45 UTC) #2
edisonn
Mike, should SkStream.writeData() write the length of the stream? I can fix the documentation if ...
7 years, 9 months ago (2013-03-18 19:49:15 UTC) #3
epoger
On 2013/03/18 19:49:15, edisonn wrote: > Mike, should SkStream.writeData() write the length of the stream? ...
7 years, 9 months ago (2013-03-18 22:15:47 UTC) #4
epoger
https://codereview.chromium.org/12753007/diff/1/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12753007/diff/1/gm/gmmain.cpp#newcode285 gm/gmmain.cpp:285: return stream.write(data.get()->data(), data.get()->size()); On 2013/03/15 17:01:46, epoger wrote: > ...
7 years, 9 months ago (2013-03-28 20:20:44 UTC) #5
edisonn
Mike already replied a few days ago (see mail) "It does write the length. More ...
7 years, 9 months ago (2013-03-28 20:29:50 UTC) #6
reed1
On 2013/03/28 20:20:44, epoger wrote: > https://codereview.chromium.org/12753007/diff/1/gm/gmmain.cpp > File gm/gmmain.cpp (right): > > https://codereview.chromium.org/12753007/diff/1/gm/gmmain.cpp#newcode285 > ...
7 years, 9 months ago (2013-03-28 21:02:07 UTC) #7
epoger
7 years, 7 months ago (2013-05-07 15:30:59 UTC) #8
This CL has been obviated by https://codereview.chromium.org/14824003/ ('Don't
use writeData to write the document in GM.')

Powered by Google App Engine
This is Rietveld 408576698