OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 for (size_t i = 0; i < length; ++i) { | 160 for (size_t i = 0; i < length; ++i) { |
161 ASSERT(!(source[i] & 0xff00)); | 161 ASSERT(!(source[i] & 0xff00)); |
162 destination[i] = static_cast<LChar>(source[i]); | 162 destination[i] = static_cast<LChar>(source[i]); |
163 } | 163 } |
164 #endif | 164 #endif |
165 } | 165 } |
166 | 166 |
167 } // namespace WTF | 167 } // namespace WTF |
168 | 168 |
169 #endif // ASCIIFastPath_h | 169 #endif // ASCIIFastPath_h |
OLD | NEW |