OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Tony Chang <idealisms@gmail.com> | 3 * Copyright (C) 2008 Tony Chang <idealisms@gmail.com> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 post_smart_set = smart_set; | 102 post_smart_set = smart_set; |
103 } | 103 } |
104 } | 104 } |
105 return smart_set; | 105 return smart_set; |
106 } | 106 } |
107 | 107 |
108 bool IsCharacterSmartReplaceExempt(UChar32 c, bool is_previous_character) { | 108 bool IsCharacterSmartReplaceExempt(UChar32 c, bool is_previous_character) { |
109 return uset_contains(GetSmartSet(is_previous_character), c); | 109 return uset_contains(GetSmartSet(is_previous_character), c); |
110 } | 110 } |
111 } | 111 } // namespace blink |
112 | 112 |
113 #endif // !OS(MACOSX) | 113 #endif // !OS(MACOSX) |
OLD | NEW |