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

Side by Side Diff: include/gpu/gl/GrGLExtensions.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/gpu/GrXferProcessor.h ('k') | include/gpu/vk/GrVkBackendContext.h » ('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 * Copyright 2013 Google Inc. 2 * Copyright 2013 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 7
8 #ifndef GrGLExtensions_DEFINED 8 #ifndef GrGLExtensions_DEFINED
9 #define GrGLExtensions_DEFINED 9 #define GrGLExtensions_DEFINED
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 * Adds an extension to list 61 * Adds an extension to list
62 */ 62 */
63 void add(const char[]); 63 void add(const char[]);
64 64
65 void reset() { fStrings->reset(); } 65 void reset() { fStrings->reset(); }
66 66
67 void print(const char* sep = "\n") const; 67 void print(const char* sep = "\n") const;
68 68
69 private: 69 private:
70 bool fInitialized; 70 bool fInitialized;
71 SkAutoTDelete<SkTArray<SkString> > fStrings; 71 std::unique_ptr<SkTArray<SkString>> fStrings;
72 }; 72 };
73 73
74 #endif 74 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrXferProcessor.h ('k') | include/gpu/vk/GrVkBackendContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698