| 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 15 matching lines...) Expand all Loading... |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "core/xml/XPathParser.h" | 28 #include "core/xml/XPathParser.h" |
| 29 | 29 |
| 30 #include "bindings/core/v8/ExceptionState.h" | 30 #include "bindings/core/v8/ExceptionState.h" |
| 31 #include "core/XPathGrammar.h" | 31 #include "core/XPathGrammar.h" |
| 32 #include "core/dom/ExceptionCode.h" | 32 #include "core/dom/ExceptionCode.h" |
| 33 #include "core/xml/XPathEvaluator.h" | 33 #include "core/xml/XPathEvaluator.h" |
| 34 #include "core/xml/XPathNSResolver.h" | 34 #include "core/xml/XPathNSResolver.h" |
| 35 #include "core/xml/XPathPath.h" | 35 #include "core/xml/XPathPath.h" |
| 36 #include "wtf/PtrUtil.h" | 36 #include "platform/wtf/PtrUtil.h" |
| 37 #include "wtf/StdLibExtras.h" | 37 #include "platform/wtf/StdLibExtras.h" |
| 38 #include "wtf/text/StringHash.h" | 38 #include "platform/wtf/text/StringHash.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 using namespace WTF; | 42 using namespace WTF; |
| 43 using namespace Unicode; | 43 using namespace Unicode; |
| 44 using namespace XPath; | 44 using namespace XPath; |
| 45 | 45 |
| 46 Parser* Parser::current_parser_ = nullptr; | 46 Parser* Parser::current_parser_ = nullptr; |
| 47 | 47 |
| 48 enum XMLCat { kNameStart, kNameCont, kNotPartOfName }; | 48 enum XMLCat { kNameStart, kNameCont, kNotPartOfName }; |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(strings_.Contains(s)); | 518 DCHECK(strings_.Contains(s)); |
| 519 strings_.erase(s); | 519 strings_.erase(s); |
| 520 } | 520 } |
| 521 | 521 |
| 522 } // namespace blink | 522 } // namespace blink |
| OLD | NEW |