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

Side by Side Diff: Source/core/xml/XMLErrors.cpp

Issue 23005002: core: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/xml/XMLErrors.h ('k') | Source/core/xml/XMLHttpRequestUpload.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
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 * 10 *
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/xml/XMLErrors.h" 30 #include "core/xml/XMLErrors.h"
31 31
32 #include "HTMLNames.h" 32 #include "HTMLNames.h"
33 #include "SVGNames.h" 33 #include "SVGNames.h"
34 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
35 #include "core/dom/Element.h" 35 #include "core/dom/Element.h"
36 #include "core/dom/Text.h" 36 #include "core/dom/Text.h"
37 #include <wtf/text/WTFString.h> 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 using namespace HTMLNames; 41 using namespace HTMLNames;
42 42
43 const int maxErrors = 25; 43 const int maxErrors = 25;
44 44
45 XMLErrors::XMLErrors(Document* document) 45 XMLErrors::XMLErrors(Document* document)
46 : m_document(document) 46 : m_document(document)
47 , m_errorCount(0) 47 , m_errorCount(0)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 else 159 else
160 documentElement->parserAppendChild(reportElement); 160 documentElement->parserAppendChild(reportElement);
161 161
162 reportElement->lazyAttach(); 162 reportElement->lazyAttach();
163 163
164 // FIXME: Why do we need to call this manually? 164 // FIXME: Why do we need to call this manually?
165 m_document->updateStyleIfNeeded(); 165 m_document->updateStyleIfNeeded();
166 } 166 }
167 167
168 } // namespace WebCore 168 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XMLErrors.h ('k') | Source/core/xml/XMLHttpRequestUpload.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698