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

Side by Side Diff: include/xml/SkDOM.h

Issue 2448593002: Remove SkAutoTUnref and SkAutoTDelete from public includes. (Closed)
Patch Set: And Vulcan. Created 4 years, 1 month 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 | « include/views/SkOSWindow_Win.h ('k') | src/core/SkCanvas.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 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
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
OLDNEW
« no previous file with comments | « include/views/SkOSWindow_Win.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698