OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Harri Porten (porten@kde.org) | 2 * Copyright (C) 2000 Harri Porten (porten@kde.org) |
3 * Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org) | 3 * Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org) |
4 * Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org) | 4 * Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org) |
5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. | 5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. |
6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 for (size_t i = 0; i < languages.size(); ++i) { | 136 for (size_t i = 0; i < languages.size(); ++i) { |
137 String& token = languages[i]; | 137 String& token = languages[i]; |
138 token = token.stripWhiteSpace(); | 138 token = token.stripWhiteSpace(); |
139 if (token.length() >= 3 && token[2] == '_') | 139 if (token.length() >= 3 && token[2] == '_') |
140 token.replace(2, 1, "-"); | 140 token.replace(2, 1, "-"); |
141 } | 141 } |
142 | 142 |
143 return languages; | 143 return languages; |
144 } | 144 } |
145 | 145 |
146 void Navigator::trace(Visitor* visitor) | 146 DEFINE_TRACE(Navigator) |
147 { | 147 { |
148 #if ENABLE(OILPAN) | 148 #if ENABLE(OILPAN) |
149 visitor->trace(m_plugins); | 149 visitor->trace(m_plugins); |
150 visitor->trace(m_mimeTypes); | 150 visitor->trace(m_mimeTypes); |
151 HeapSupplementable<Navigator>::trace(visitor); | 151 HeapSupplementable<Navigator>::trace(visitor); |
152 #endif | 152 #endif |
153 DOMWindowProperty::trace(visitor); | 153 DOMWindowProperty::trace(visitor); |
154 } | 154 } |
155 | 155 |
156 } // namespace blink | 156 } // namespace blink |
OLD | NEW |