Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2657)

Issue 7390056: PDF : Unused parameters cleanup (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by sugoi
Modified:
11 years, 4 months ago
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

PDF : Unused parameters cleanup I removed unused parameters in the PDFs wherever it was trivial to do so. A few constructors had to change signature in the process to reflect the changes. Committed: https://code.google.com/p/skia/source/detail?r=7987

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -30 lines) Patch
M src/pdf/SkPDFDevice.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFFont.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 2 9 chunks +14 lines, -12 lines 0 comments Download
M src/pdf/SkPDFFontImpl.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/pdf/SkPDFImage.h View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M src/pdf/SkPDFImage.cpp View 1 2 4 chunks +4 lines, -8 lines 0 comments Download
M src/pdf/SkPDFUtils.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20
sugoi
https://codereview.appspot.com/7390056/diff/1/src/pdf/SkPDFUtils.cpp File src/pdf/SkPDFUtils.cpp (right): https://codereview.appspot.com/7390056/diff/1/src/pdf/SkPDFUtils.cpp#newcode117 src/pdf/SkPDFUtils.cpp:117: SkPoint lastMovePt = SkPoint::Make(0,0); This is just to remove ...
11 years, 4 months ago (2013-02-27 16:21:00 UTC) #1
Steve VanDeBogart
On 2013/02/27 16:21:00, sugoi wrote: > https://codereview.appspot.com/7390056/diff/1/src/pdf/SkPDFUtils.cpp > File src/pdf/SkPDFUtils.cpp (right): > > https://codereview.appspot.com/7390056/diff/1/src/pdf/SkPDFUtils.cpp#newcode117 > ...
11 years, 4 months ago (2013-02-27 21:33:50 UTC) #2
sugoi
On 2013/02/27 21:33:50, Steve VanDeBogart wrote: > On 2013/02/27 16:21:00, sugoi wrote: > > https://codereview.appspot.com/7390056/diff/1/src/pdf/SkPDFUtils.cpp ...
11 years, 4 months ago (2013-02-27 21:39:35 UTC) #3
Steve VanDeBogart
On 2013/02/27 21:39:35, sugoi wrote: > On 2013/02/27 21:33:50, Steve VanDeBogart wrote: > > On ...
11 years, 4 months ago (2013-02-27 21:45:19 UTC) #4
sugoi
On 2013/02/27 21:45:19, Steve VanDeBogart wrote: > It'd be great if you want to take ...
11 years, 4 months ago (2013-02-27 21:57:14 UTC) #5
Steve VanDeBogart
On 2013/02/27 21:57:14, sugoi wrote: > On 2013/02/27 21:45:19, Steve VanDeBogart wrote: > > It'd ...
11 years, 4 months ago (2013-02-27 22:01:29 UTC) #6
sugoi
I'm reading the code and I'm trying to figure out how this should work and ...
11 years, 4 months ago (2013-02-28 15:42:51 UTC) #7
reed1
11 years, 4 months ago (2013-02-28 16:18:53 UTC) #8
Steve VanDeBogart
On 2013/02/28 15:42:51, sugoi wrote: > I'm reading the code and I'm trying to figure ...
11 years, 4 months ago (2013-02-28 22:14:14 UTC) #9
sugoi
Thanks for the detailed explanation, I understand the problem much better now. I uploaded a ...
11 years, 4 months ago (2013-03-04 15:41:23 UTC) #10
sugoi
Actually, it seems creating the test is fairly complicated for someone who's not too familiar ...
11 years, 4 months ago (2013-03-04 16:49:07 UTC) #11
Steve VanDeBogart
Thanks for the nice clean up. LGTM https://codereview.appspot.com/7390056/diff/11001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.appspot.com/7390056/diff/11001/src/pdf/SkPDFFont.cpp#newcode818 src/pdf/SkPDFFont.cpp:818: SkPDFFont* SkPDFFont::getFontSubset(const ...
11 years, 4 months ago (2013-03-04 23:18:11 UTC) #12
sugoi
I'll wait for the test before I commit this code. Thanks. https://codereview.appspot.com/7390056/diff/11001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): ...
11 years, 4 months ago (2013-03-05 13:50:13 UTC) #13
edisonn
FYI, SkFontHost_Linux.cpp is only included now in NaCl, for which we do not run tests ...
11 years, 4 months ago (2013-03-05 16:45:07 UTC) #14
sugoi
Uploaded a new version with vandebo's comments fixed. @edisonn: about the tests, are you saying ...
11 years, 4 months ago (2013-03-05 17:55:40 UTC) #15
Steve VanDeBogart
On 2013/03/05 17:55:40, sugoi wrote: > Uploaded a new version with vandebo's comments fixed. > ...
11 years, 4 months ago (2013-03-05 18:28:57 UTC) #16
sugoi
On 2013/03/05 18:28:57, Steve VanDeBogart wrote: > As I mentioned before, Chrome has its own ...
11 years, 4 months ago (2013-03-05 18:32:26 UTC) #17
sugoi
Committed patchset #3 manually as r7987 (presubmit successful).
11 years, 4 months ago (2013-03-05 18:35:59 UTC) #18
reed1
I have a CL out to pull in chrome's fonthost, so that skia will own ...
11 years, 4 months ago (2013-03-05 18:54:39 UTC) #19
bungeman
11 years, 4 months ago (2013-03-05 18:56:19 UTC) #20
This isn't the case anymore, we are using a full FontConfig FontHost
on Linux now in Skia.

On Tue, Mar 5, 2013 at 1:28 PM,  <vandebo@chromium.org> wrote:
> On 2013/03/05 17:55:40, sugoi wrote:
>>
>> Uploaded a new version with vandebo's comments fixed.
>
>
>> @edisonn: about the tests, are you saying that I should commit this cl
>
> without
>>
>> the test since this code is untested  ?
>
>
> As I mentioned before, Chrome has its own font host implementation.  I'm
> not sure there's a way to reproduce the conditions needed to test the
> regression you fixed with stock Skia font hosts.
>
>
> https://codereview.appspot.com/7390056/
>
> --
> You received this message because you are subscribed to the Google Groups
> "skia-review" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to skia-review+unsubscribe@googlegroups.com.
> To post to this group, send email to skia-review@googlegroups.com.
> Visit this group at http://groups.google.com/group/skia-review?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b