On 2011/05/24 06:43:32, Steve VanDeBogart wrote: > http://codereview.appspot.com/4527072/diff/1/src/pdf/SkPDFDevice.cpp > File src/pdf/SkPDFDevice.cpp (right): > > http://codereview.appspot.com/4527072/diff/1/src/pdf/SkPDFDevice.cpp#newcode912 ...
13 years, 5 months ago
(2011-05-24 09:18:48 UTC)
#4
On 2011/05/24 06:43:32, Steve VanDeBogart wrote:
> http://codereview.appspot.com/4527072/diff/1/src/pdf/SkPDFDevice.cpp
> File src/pdf/SkPDFDevice.cpp (right):
>
>
http://codereview.appspot.com/4527072/diff/1/src/pdf/SkPDFDevice.cpp#newcode912
> src/pdf/SkPDFDevice.cpp:912: return;
> On 2011/05/23 23:52:11, Chris Guillory wrote:
> > Nit: Comment why we don't need to draw because the device's content is
empty.
>
> I don't think such a comment would add any value. The Google style guide
> specifically notes that you shouldn't use comments that restate (non-tricky)
> code.
We definitely don't need a comment here since this can be updated to make use of
the new isContentEmpty() member function.
Issue 4527072: [PDF] Don't draw empty layers.
(Closed)
Created 13 years, 5 months ago by Steve VanDeBogart
Modified 13 years, 5 months ago
Reviewers: Chris Guillory
Base URL: https://skia.googlecode.com/svn/trunk
Comments: 2