| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011, 2014 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011, 2014 Apple Inc. All rights reserved. |
| 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "wtf/unicode/CharacterNames.h" | 50 #include "wtf/unicode/CharacterNames.h" |
| 51 | 51 |
| 52 namespace blink { | 52 namespace blink { |
| 53 | 53 |
| 54 using namespace HTMLNames; | 54 using namespace HTMLNames; |
| 55 | 55 |
| 56 namespace { | 56 namespace { |
| 57 | 57 |
| 58 inline bool isHTMLSpaceOrReplacementCharacter(UChar character) | 58 inline bool isHTMLSpaceOrReplacementCharacter(UChar character) |
| 59 { | 59 { |
| 60 return isHTMLSpace<UChar>(character) || character == replacementCharacter; | 60 return isHTMLSpace<UChar>(character) || character == characterReplacement; |
| 61 } | 61 } |
| 62 | 62 |
| 63 } | 63 } |
| 64 | 64 |
| 65 static TextPosition uninitializedPositionValue1() | 65 static TextPosition uninitializedPositionValue1() |
| 66 { | 66 { |
| 67 return TextPosition(OrdinalNumber::fromOneBasedInt(-1), OrdinalNumber::first
()); | 67 return TextPosition(OrdinalNumber::fromOneBasedInt(-1), OrdinalNumber::first
()); |
| 68 } | 68 } |
| 69 | 69 |
| 70 static inline bool isAllWhitespace(const String& string) | 70 static inline bool isAllWhitespace(const String& string) |
| (...skipping 2733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2804 ASSERT(m_isAttached); | 2804 ASSERT(m_isAttached); |
| 2805 // Warning, this may detach the parser. Do not do anything else after this. | 2805 // Warning, this may detach the parser. Do not do anything else after this. |
| 2806 m_tree.finishedParsing(); | 2806 m_tree.finishedParsing(); |
| 2807 } | 2807 } |
| 2808 | 2808 |
| 2809 void HTMLTreeBuilder::parseError(AtomicHTMLToken*) | 2809 void HTMLTreeBuilder::parseError(AtomicHTMLToken*) |
| 2810 { | 2810 { |
| 2811 } | 2811 } |
| 2812 | 2812 |
| 2813 } // namespace blink | 2813 } // namespace blink |
| OLD | NEW |