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

Side by Side Diff: include/private/SkTHash.h

Issue 1217293004: Move headers used by headers in include/ to include/private. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: move SkChecksum too Created 5 years, 5 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 | « include/private/SkRecords.h ('k') | include/private/SkTLogic.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 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 7
8 #ifndef SkTHash_DEFINED 8 #ifndef SkTHash_DEFINED
9 #define SkTHash_DEFINED 9 #define SkTHash_DEFINED
10 10
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 283
284 private: 284 private:
285 struct Traits { 285 struct Traits {
286 static const T& GetKey(const T& item) { return item; } 286 static const T& GetKey(const T& item) { return item; }
287 static uint32_t Hash(const T& item) { return HashT(item); } 287 static uint32_t Hash(const T& item) { return HashT(item); }
288 }; 288 };
289 SkTHashTable<T, T, Traits> fTable; 289 SkTHashTable<T, T, Traits> fTable;
290 }; 290 };
291 291
292 #endif//SkTHash_DEFINED 292 #endif//SkTHash_DEFINED
OLDNEW
« no previous file with comments | « include/private/SkRecords.h ('k') | include/private/SkTLogic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698