| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2002, 2003 The Karbon Developers | 3 * Copyright (C) 2002, 2003 The Karbon Developers |
| 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 if (end - ptr < length) | 56 if (end - ptr < length) |
| 57 return false; | 57 return false; |
| 58 for (int i = 0; i < length; ++i) { | 58 for (int i = 0; i < length; ++i) { |
| 59 if (ptr[i] != str[i]) | 59 if (ptr[i] != str[i]) |
| 60 return false; | 60 return false; |
| 61 } | 61 } |
| 62 ptr += length; | 62 ptr += length; |
| 63 return true; | 63 return true; |
| 64 } | 64 } |
| 65 | 65 |
| 66 } // namspace WebCore | 66 } // namespace blink |
| 67 | 67 |
| 68 #endif // ParserUtilities_h | 68 #endif // ParserUtilities_h |
| OLD | NEW |