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

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

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (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) 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 28 matching lines...) Expand all
39 #include "core/html/HTMLDocument.h" 39 #include "core/html/HTMLDocument.h"
40 #include "core/html/HTMLFormElement.h" 40 #include "core/html/HTMLFormElement.h"
41 #include "core/html/parser/AtomicHTMLToken.h" 41 #include "core/html/parser/AtomicHTMLToken.h"
42 #include "core/html/parser/HTMLDocumentParser.h" 42 #include "core/html/parser/HTMLDocumentParser.h"
43 #include "core/html/parser/HTMLParserIdioms.h" 43 #include "core/html/parser/HTMLParserIdioms.h"
44 #include "core/html/parser/HTMLStackItem.h" 44 #include "core/html/parser/HTMLStackItem.h"
45 #include "core/html/parser/HTMLToken.h" 45 #include "core/html/parser/HTMLToken.h"
46 #include "core/html/parser/HTMLTokenizer.h" 46 #include "core/html/parser/HTMLTokenizer.h"
47 #include "platform/NotImplemented.h" 47 #include "platform/NotImplemented.h"
48 #include "platform/text/PlatformLocale.h" 48 #include "platform/text/PlatformLocale.h"
49 #include "wtf/MainThread.h"
50 #include "wtf/text/CharacterNames.h" 49 #include "wtf/text/CharacterNames.h"
51 50
52 namespace blink { 51 namespace blink {
53 52
54 using namespace HTMLNames; 53 using namespace HTMLNames;
55 54
56 namespace { 55 namespace {
57 56
58 inline bool isHTMLSpaceOrReplacementCharacter(UChar character) 57 inline bool isHTMLSpaceOrReplacementCharacter(UChar character)
59 { 58 {
(...skipping 2761 matching lines...) Expand 10 before | Expand all | Expand 10 after
2821 ASSERT(m_isAttached); 2820 ASSERT(m_isAttached);
2822 // Warning, this may detach the parser. Do not do anything else after this. 2821 // Warning, this may detach the parser. Do not do anything else after this.
2823 m_tree.finishedParsing(); 2822 m_tree.finishedParsing();
2824 } 2823 }
2825 2824
2826 void HTMLTreeBuilder::parseError(AtomicHTMLToken*) 2825 void HTMLTreeBuilder::parseError(AtomicHTMLToken*)
2827 { 2826 {
2828 } 2827 }
2829 2828
2830 } // namespace blink 2829 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698