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

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

Issue 1035513003: SkPDF: skpdfdocument and skpdfpage use skpdfdevice in a const way (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: change skpdfdocument array to const Created 5 years, 9 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
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkPDFCatalog.h" 10 #include "SkPDFCatalog.h"
11 #include "SkPDFDevice.h"
12 #include "SkPDFDocument.h" 11 #include "SkPDFDocument.h"
13 #include "SkPDFFont.h" 12 #include "SkPDFFont.h"
14 #include "SkPDFPage.h" 13 #include "SkPDFPage.h"
15 #include "SkPDFTypes.h" 14 #include "SkPDFTypes.h"
16 #include "SkStream.h" 15 #include "SkStream.h"
17 16
18 17
19 static void perform_font_subsetting(SkPDFCatalog* catalog, 18 static void perform_font_subsetting(SkPDFCatalog* catalog,
20 const SkTDArray<SkPDFPage*>& pages, 19 const SkTDArray<SkPDFPage*>& pages,
21 SkTDArray<SkPDFObject*>* substitutes) { 20 SkTDArray<SkPDFObject*>* substitutes) {
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 } 221 }
223 } 222 }
224 if (notSubsettableCount) { 223 if (notSubsettableCount) {
225 *notSubsettableCount = notSubsettable; 224 *notSubsettableCount = notSubsettable;
226 225
227 } 226 }
228 if (notEmbeddableCount) { 227 if (notEmbeddableCount) {
229 *notEmbeddableCount = notEmbeddable; 228 *notEmbeddableCount = notEmbeddable;
230 } 229 }
231 } 230 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698