OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 #ifndef SkPDFCanon_DEFINED | 7 #ifndef SkPDFCanon_DEFINED |
8 #define SkPDFCanon_DEFINED | 8 #define SkPDFCanon_DEFINED |
9 | 9 |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 SkASSERT(w.fPtr); | 111 SkASSERT(w.fPtr); |
112 return w.fPtr->hash(); | 112 return w.fPtr->hash(); |
113 } | 113 } |
114 }; | 114 }; |
115 }; | 115 }; |
116 SkTHashSet<WrapGS, WrapGS::Hash> fGraphicStateRecords; | 116 SkTHashSet<WrapGS, WrapGS::Hash> fGraphicStateRecords; |
117 | 117 |
118 SkTHashMap<SkBitmapKey, const SkImage*> fBitmapToImageMap; | 118 SkTHashMap<SkBitmapKey, const SkImage*> fBitmapToImageMap; |
119 SkTHashMap<uint32_t /*ImageUniqueID*/, SkPDFObject*> fPDFBitmapMap; | 119 SkTHashMap<uint32_t /*ImageUniqueID*/, SkPDFObject*> fPDFBitmapMap; |
120 | 120 |
121 SkAutoTUnref<SkPixelSerializer> fPixelSerializer; | 121 sk_sp<SkPixelSerializer> fPixelSerializer; |
122 }; | 122 }; |
123 #endif // SkPDFCanon_DEFINED | 123 #endif // SkPDFCanon_DEFINED |
OLD | NEW |