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

Side by Side Diff: src/pdf/SkPDFGraphicState.h

Issue 966863002: PDF: Canon now owns a reference to all interned objects (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-02-27 (Friday) 15:27:08 EST 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
« no previous file with comments | « src/pdf/SkPDFFontImpl.h ('k') | src/pdf/SkPDFGraphicState.cpp » ('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 /* 2 /*
3 * Copyright 2010 The Android Open Source Project 3 * Copyright 2010 The Android Open Source Project
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 #ifndef SkPDFGraphicState_DEFINED 10 #ifndef SkPDFGraphicState_DEFINED
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 * other references. 67 * other references.
68 */ 68 */
69 static SkPDFGraphicState* GetNoSMaskGraphicState(); 69 static SkPDFGraphicState* GetNoSMaskGraphicState();
70 70
71 bool equals(const SkPaint&) const; 71 bool equals(const SkPaint&) const;
72 72
73 // Only public for SK_DECLARE_STATIC_LAZY_PTR 73 // Only public for SK_DECLARE_STATIC_LAZY_PTR
74 static SkPDFGraphicState* CreateNoSMaskGraphicState(); 74 static SkPDFGraphicState* CreateNoSMaskGraphicState();
75 75
76 private: 76 private:
77 SkPDFCanon* const fCanon;
78 const SkPaint fPaint; 77 const SkPaint fPaint;
79 bool fPopulated; 78 bool fPopulated;
80 79
81 SkPDFGraphicState(); 80 SkPDFGraphicState();
82 SkPDFGraphicState(SkPDFCanon* canon, const SkPaint& paint); 81 SkPDFGraphicState(const SkPaint& paint);
83 82
84 void populateDict(); 83 void populateDict();
85 84
86 typedef SkPDFDict INHERITED; 85 typedef SkPDFDict INHERITED;
87 }; 86 };
88 87
89 #endif 88 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFFontImpl.h ('k') | src/pdf/SkPDFGraphicState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698