Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp

Issue 1826283004: Revert NotImplemented() changes in r383029 and r383047. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/
4 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 4 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
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 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #include "core/html/parser/HTMLTokenizer.h" 28 #include "core/html/parser/HTMLTokenizer.h"
29 29
30 #include "core/HTMLNames.h" 30 #include "core/HTMLNames.h"
31 #include "core/HTMLTokenizerNames.h" 31 #include "core/HTMLTokenizerNames.h"
32 #include "core/html/parser/HTMLEntityParser.h" 32 #include "core/html/parser/HTMLEntityParser.h"
33 #include "core/html/parser/HTMLParserIdioms.h" 33 #include "core/html/parser/HTMLParserIdioms.h"
34 #include "core/html/parser/HTMLTreeBuilder.h" 34 #include "core/html/parser/HTMLTreeBuilder.h"
35 #include "core/xml/parser/MarkupTokenizerInlines.h" 35 #include "core/xml/parser/MarkupTokenizerInlines.h"
36 #include "platform/NotImplemented.h"
36 #include "wtf/ASCIICType.h" 37 #include "wtf/ASCIICType.h"
37 #include "wtf/text/Unicode.h" 38 #include "wtf/text/Unicode.h"
38 39
39 // Please don't use DEFINE_STATIC_LOCAL in this file. The HTMLTokenizer is used 40 // Please don't use DEFINE_STATIC_LOCAL in this file. The HTMLTokenizer is used
40 // from multiple threads and DEFINE_STATIC_LOCAL isn't threadsafe. 41 // from multiple threads and DEFINE_STATIC_LOCAL isn't threadsafe.
41 #undef DEFINE_STATIC_LOCAL 42 #undef DEFINE_STATIC_LOCAL
42 43
43 namespace blink { 44 namespace blink {
44 45
45 using namespace HTMLNames; 46 using namespace HTMLNames;
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 for (size_t i = 0; i < numCharacters; i++) { 1583 for (size_t i = 0; i < numCharacters; i++) {
1583 if (m_bufferedEndTagName[i] != m_appropriateEndTagName[i]) 1584 if (m_bufferedEndTagName[i] != m_appropriateEndTagName[i])
1584 return false; 1585 return false;
1585 } 1586 }
1586 1587
1587 return true; 1588 return true;
1588 } 1589 }
1589 1590
1590 inline void HTMLTokenizer::parseError() 1591 inline void HTMLTokenizer::parseError()
1591 { 1592 {
1592 NOTIMPLEMENTED(); 1593 notImplemented();
1593 } 1594 }
1594 1595
1595 } // namespace blink 1596 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698