| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 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 SkDOM_DEFINED | 10 #ifndef SkDOM_DEFINED |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 AttrIter(const SkDOM&, const Node*); | 82 AttrIter(const SkDOM&, const Node*); |
| 83 const char* next(const char** value); | 83 const char* next(const char** value); |
| 84 private: | 84 private: |
| 85 const Attr* fAttr; | 85 const Attr* fAttr; |
| 86 const Attr* fStop; | 86 const Attr* fStop; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 SkDEBUGCODE(void dump(const Node* node = NULL, int tabLevel = 0) const;) | 89 SkDEBUGCODE(void dump(const Node* node = NULL, int tabLevel = 0) const;) |
| 90 | 90 |
| 91 private: | 91 private: |
| 92 SkChunkAlloc fAlloc; | 92 SkChunkAlloc fAlloc; |
| 93 Node* fRoot; | 93 Node* fRoot; |
| 94 SkAutoTDelete<SkDOMParser> fParser; | 94 std::unique_ptr<SkDOMParser> fParser; |
| 95 | 95 |
| 96 typedef SkNoncopyable INHERITED; | 96 typedef SkNoncopyable INHERITED; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 #endif | 99 #endif |
| OLD | NEW |