| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "modules/indexeddb/IDBKeyPath.h" | 26 #include "modules/indexeddb/IDBKeyPath.h" |
| 27 | 27 |
| 28 #include "wtf/ASCIICType.h" | 28 #include "wtf/ASCIICType.h" |
| 29 #include "wtf/dtoa.h" | 29 #include "wtf/dtoa.h" |
| 30 #include "wtf/text/CharacterNames.h" | 30 #include "wtf/text/CharacterNames.h" |
| 31 #include "wtf/text/Unicode.h" | 31 #include "wtf/text/Unicode.h" |
| 32 | 32 |
| 33 using namespace WTF::Unicode; | |
| 34 | |
| 35 namespace blink { | 33 namespace blink { |
| 36 | 34 |
| 37 namespace { | 35 namespace { |
| 38 | 36 |
| 39 using namespace WTF::Unicode; | 37 using namespace WTF::Unicode; |
| 40 | 38 |
| 41 // The following correspond to grammar in ECMA-262. | 39 // The following correspond to grammar in ECMA-262. |
| 42 const uint32_t unicodeLetter = Letter_Uppercase | Letter_Lowercase | | 40 const uint32_t unicodeLetter = Letter_Uppercase | Letter_Lowercase | |
| 43 Letter_Titlecase | Letter_Modifier | | 41 Letter_Titlecase | Letter_Modifier | |
| 44 Letter_Other | Number_Letter; | 42 Letter_Other | Number_Letter; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 case StringType: | 192 case StringType: |
| 195 return m_string == other.m_string; | 193 return m_string == other.m_string; |
| 196 case ArrayType: | 194 case ArrayType: |
| 197 return m_array == other.m_array; | 195 return m_array == other.m_array; |
| 198 } | 196 } |
| 199 ASSERT_NOT_REACHED(); | 197 ASSERT_NOT_REACHED(); |
| 200 return false; | 198 return false; |
| 201 } | 199 } |
| 202 | 200 |
| 203 } // namespace blink | 201 } // namespace blink |
| OLD | NEW |