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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/BitwiseOperations.h

Issue 2755663002: Move files in wtf/ to platform/wtf/ (Part 2). (Closed)
Patch Set: Fix file name (facepalm). Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 // TODO(palmer): The only caller of this code in Blink is PartitionAlloc. When 31 // TODO(palmer): The only caller of this code in Blink is PartitionAlloc. When
32 // PA is moved to base, we can remove this file. 32 // PA is moved to base, we can remove this file.
33 // https://bugs.chromium.org/p/chromium/issues/detail?id=632441 33 // https://bugs.chromium.org/p/chromium/issues/detail?id=632441
34 34
35 #ifndef WTF_BitwiseOperations_h 35 #ifndef WTF_BitwiseOperations_h
36 #define WTF_BitwiseOperations_h 36 #define WTF_BitwiseOperations_h
37 37
38 #include "base/bits.h" 38 #include "base/bits.h"
39 #include "wtf/CPU.h" 39 #include "platform/wtf/CPU.h"
40 40
41 namespace WTF { 41 namespace WTF {
42 42
43 using base::bits::CountLeadingZeroBits32; 43 using base::bits::CountLeadingZeroBits32;
44 using base::bits::CountLeadingZeroBitsSizeT; 44 using base::bits::CountLeadingZeroBitsSizeT;
45 45
46 #if CPU(64BIT) 46 #if CPU(64BIT)
47 using base::bits::CountLeadingZeroBits64; 47 using base::bits::CountLeadingZeroBits64;
48 #endif 48 #endif
49 49
50 } // namespace WTF 50 } // namespace WTF
51 51
52 #endif // WTF_BitwiseOperations_h 52 #endif // WTF_BitwiseOperations_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/BUILD.gn ('k') | third_party/WebKit/Source/platform/wtf/CheckedNumeric.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698