diff options
author | 2016-03-29 09:03:52 -0700 | |
---|---|---|
committer | 2016-03-29 09:03:53 -0700 | |
commit | 9d524f22bfde5dc3dc8f48e1be39bdebd3bb0304 (patch) | |
tree | fc75ea6f8bc83b552d9ac9c9b4ac0d5a967ee5ac /src/pdf | |
parent | e577693b3be06d90c824538e7eac0b25b0e02a99 (diff) |
Style bikeshed - remove extraneous whitespace
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842753002
Review URL: https://codereview.chromium.org/1842753002
Diffstat (limited to 'src/pdf')
-rw-r--r-- | src/pdf/SkDeflate.cpp | 1 | ||||
-rw-r--r-- | src/pdf/SkJpegInfo.cpp | 2 | ||||
-rw-r--r-- | src/pdf/SkJpegInfo.h | 2 | ||||
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 2 | ||||
-rw-r--r-- | src/pdf/SkPDFFont.h | 3 | ||||
-rw-r--r-- | src/pdf/SkPDFFontImpl.h | 1 | ||||
-rw-r--r-- | src/pdf/SkPDFFormXObject.cpp | 1 | ||||
-rw-r--r-- | src/pdf/SkPDFFormXObject.h | 1 | ||||
-rw-r--r-- | src/pdf/SkPDFGraphicState.h | 3 | ||||
-rw-r--r-- | src/pdf/SkPDFShader.cpp | 1 | ||||
-rw-r--r-- | src/pdf/SkPDFShader.h | 1 | ||||
-rw-r--r-- | src/pdf/SkPDFStream.cpp | 1 | ||||
-rw-r--r-- | src/pdf/SkPDFStream.h | 3 | ||||
-rw-r--r-- | src/pdf/SkPDFUtils.h | 1 |
14 files changed, 5 insertions, 18 deletions
diff --git a/src/pdf/SkDeflate.cpp b/src/pdf/SkDeflate.cpp index 3ae0d46068..ebf203a264 100644 --- a/src/pdf/SkDeflate.cpp +++ b/src/pdf/SkDeflate.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2010 The Android Open Source Project * diff --git a/src/pdf/SkJpegInfo.cpp b/src/pdf/SkJpegInfo.cpp index 3c52a102db..5e5ec792ea 100644 --- a/src/pdf/SkJpegInfo.cpp +++ b/src/pdf/SkJpegInfo.cpp @@ -117,5 +117,3 @@ bool SkIsJFIF(const SkData* skdata, SkJFIFInfo* info) { } return true; } - - diff --git a/src/pdf/SkJpegInfo.h b/src/pdf/SkJpegInfo.h index 1b03e45b10..39de99455a 100644 --- a/src/pdf/SkJpegInfo.h +++ b/src/pdf/SkJpegInfo.h @@ -19,7 +19,7 @@ struct SkJFIFInfo { } fType; }; -/** Returns true iff the data seems to be a valid JFIF JPEG image. +/** Returns true iff the data seems to be a valid JFIF JPEG image. If so and if info is not nullptr, populate info. JPEG/JFIF References: diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 4adc4dae4a..df6a8f8fe2 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -1988,7 +1988,7 @@ static SkSize rect_to_size(const SkRect& r) { static sk_sp<SkImage> color_filter(const SkImageBitmap& imageBitmap, SkColorFilter* colorFilter) { - auto surface = + auto surface = SkSurface::MakeRaster(SkImageInfo::MakeN32Premul(imageBitmap.dimensions())); SkASSERT(surface); SkCanvas* canvas = surface->getCanvas(); diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h index e410e3ee00..397cc7f2a4 100644 --- a/src/pdf/SkPDFFont.h +++ b/src/pdf/SkPDFFont.h @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * @@ -70,7 +69,7 @@ private: reference to each instantiated class. */ class SkPDFFont : public SkPDFDict { - + public: virtual ~SkPDFFont(); diff --git a/src/pdf/SkPDFFontImpl.h b/src/pdf/SkPDFFontImpl.h index 71f78bd4a6..0dfa19189c 100644 --- a/src/pdf/SkPDFFontImpl.h +++ b/src/pdf/SkPDFFontImpl.h @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * diff --git a/src/pdf/SkPDFFormXObject.cpp b/src/pdf/SkPDFFormXObject.cpp index 39d75a5a94..99617e9c01 100644 --- a/src/pdf/SkPDFFormXObject.cpp +++ b/src/pdf/SkPDFFormXObject.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2010 The Android Open Source Project * diff --git a/src/pdf/SkPDFFormXObject.h b/src/pdf/SkPDFFormXObject.h index 32d9e40904..5dda459202 100644 --- a/src/pdf/SkPDFFormXObject.h +++ b/src/pdf/SkPDFFormXObject.h @@ -1,4 +1,3 @@ - /* * Copyright 2010 The Android Open Source Project * diff --git a/src/pdf/SkPDFGraphicState.h b/src/pdf/SkPDFGraphicState.h index 31848e8cac..06f1e119f0 100644 --- a/src/pdf/SkPDFGraphicState.h +++ b/src/pdf/SkPDFGraphicState.h @@ -1,4 +1,3 @@ - /* * Copyright 2010 The Android Open Source Project * @@ -23,7 +22,7 @@ class SkPDFFormXObject; once, we want to canonicalize them. */ class SkPDFGraphicState final : public SkPDFObject { - + public: enum SkPDFSMaskMode { kAlpha_SMaskMode, diff --git a/src/pdf/SkPDFShader.cpp b/src/pdf/SkPDFShader.cpp index ef47cf7e7b..5dd94e2c68 100644 --- a/src/pdf/SkPDFShader.cpp +++ b/src/pdf/SkPDFShader.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * diff --git a/src/pdf/SkPDFShader.h b/src/pdf/SkPDFShader.h index 921d574fff..5a5aee486d 100644 --- a/src/pdf/SkPDFShader.h +++ b/src/pdf/SkPDFShader.h @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * diff --git a/src/pdf/SkPDFStream.cpp b/src/pdf/SkPDFStream.cpp index 5b7cd57ca2..10fc77b587 100644 --- a/src/pdf/SkPDFStream.cpp +++ b/src/pdf/SkPDFStream.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2010 Google Inc. * diff --git a/src/pdf/SkPDFStream.h b/src/pdf/SkPDFStream.h index e1fe539e74..cf8cda543b 100644 --- a/src/pdf/SkPDFStream.h +++ b/src/pdf/SkPDFStream.h @@ -1,4 +1,3 @@ - /* * Copyright 2010 Google Inc. * @@ -23,7 +22,7 @@ class SkPDFObjNumMap; SkObjRef). */ class SkPDFStream : public SkPDFDict { - + public: /** Create a PDF stream. A Length entry is automatically added to the * stream dictionary. diff --git a/src/pdf/SkPDFUtils.h b/src/pdf/SkPDFUtils.h index 0dec80077c..3340089ef8 100644 --- a/src/pdf/SkPDFUtils.h +++ b/src/pdf/SkPDFUtils.h @@ -1,4 +1,3 @@ - /* * Copyright 2011 Google Inc. * |