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

Side by Side Diff: src/pdf/SkPDFTypes.cpp

Issue 2110033002: Remove unnecessary includes in src/pdf/ (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: fix order Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pdf/SkPDFTypes.h ('k') | src/pdf/SkPDFUtils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkDeflate.h" 8 #include "SkDeflate.h"
9 #include "SkPDFTypes.h" 9 #include "SkPDFTypes.h"
10 #include "SkPDFUtils.h" 10 #include "SkPDFUtils.h"
11 #include "SkStream.h"
11 #include "SkStreamPriv.h" 12 #include "SkStreamPriv.h"
12 13
13 //////////////////////////////////////////////////////////////////////////////// 14 ////////////////////////////////////////////////////////////////////////////////
14 15
15 SkString* pun(char* x) { return reinterpret_cast<SkString*>(x); } 16 SkString* pun(char* x) { return reinterpret_cast<SkString*>(x); }
16 const SkString* pun(const char* x) { 17 const SkString* pun(const char* x) {
17 return reinterpret_cast<const SkString*>(x); 18 return reinterpret_cast<const SkString*>(x);
18 } 19 }
19 20
20 SkPDFUnion::SkPDFUnion(Type t) : fType(t) {} 21 SkPDFUnion::SkPDFUnion(Type t) : fType(t) {}
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 564
564 void SkPDFImageDumpStats() { 565 void SkPDFImageDumpStats() {
565 SkDebugf("\ntotal PDF drawImage/drawBitmap calls: %d\n" 566 SkDebugf("\ntotal PDF drawImage/drawBitmap calls: %d\n"
566 "total PDF jpeg images: %d\n" 567 "total PDF jpeg images: %d\n"
567 "total PDF regular images: %d\n", 568 "total PDF regular images: %d\n",
568 gDrawImageCalls.load(), 569 gDrawImageCalls.load(),
569 gJpegImageObjects.load(), 570 gJpegImageObjects.load(),
570 gRegularImageObjects.load()); 571 gRegularImageObjects.load());
571 } 572 }
572 #endif // SK_PDF_IMAGE_STATS 573 #endif // SK_PDF_IMAGE_STATS
OLDNEW
« no previous file with comments | « src/pdf/SkPDFTypes.h ('k') | src/pdf/SkPDFUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698