| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2005 Maksim Orlovich <maksim@kde.org> | 2 * Copyright 2005 Maksim Orlovich <maksim@kde.org> |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 | 509 |
| 510 DCHECK(!m_strings.contains(s)); | 510 DCHECK(!m_strings.contains(s)); |
| 511 m_strings.insert(WTF::wrapUnique(s)); | 511 m_strings.insert(WTF::wrapUnique(s)); |
| 512 } | 512 } |
| 513 | 513 |
| 514 void Parser::deleteString(String* s) { | 514 void Parser::deleteString(String* s) { |
| 515 if (!s) | 515 if (!s) |
| 516 return; | 516 return; |
| 517 | 517 |
| 518 DCHECK(m_strings.contains(s)); | 518 DCHECK(m_strings.contains(s)); |
| 519 m_strings.remove(s); | 519 m_strings.erase(s); |
| 520 } | 520 } |
| 521 | 521 |
| 522 } // namespace blink | 522 } // namespace blink |
| OLD | NEW |