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

Side by Side Diff: Source/core/html/parser/CompactHTMLToken.cpp

Issue 15422005: Remove unused includes from core/html .cpp files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 7 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) 2013 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2013 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/html/parser/CompactHTMLToken.h" 27 #include "core/html/parser/CompactHTMLToken.h"
28 28
29 #include "core/dom/QualifiedName.h" 29 #include "core/dom/QualifiedName.h"
30 #include "core/html/parser/HTMLParserIdioms.h" 30 #include "core/html/parser/HTMLParserIdioms.h"
31 #include "core/html/parser/HTMLToken.h" 31 #include "core/html/parser/HTMLToken.h"
32 #include "core/html/parser/XSSAuditorDelegate.h"
33 32
34 namespace WebCore { 33 namespace WebCore {
35 34
36 struct SameSizeAsCompactHTMLToken { 35 struct SameSizeAsCompactHTMLToken {
37 unsigned bitfields; 36 unsigned bitfields;
38 HTMLIdentifier data; 37 HTMLIdentifier data;
39 Vector<Attribute> vector; 38 Vector<Attribute> vector;
40 TextPosition textPosition; 39 TextPosition textPosition;
41 }; 40 };
42 41
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 for (Vector<Attribute>::const_iterator it = m_attributes.begin(); it != m_at tributes.end(); ++it) { 95 for (Vector<Attribute>::const_iterator it = m_attributes.begin(); it != m_at tributes.end(); ++it) {
97 if (!it->name.isSafeToSendToAnotherThread()) 96 if (!it->name.isSafeToSendToAnotherThread())
98 return false; 97 return false;
99 if (!it->value.isSafeToSendToAnotherThread()) 98 if (!it->value.isSafeToSendToAnotherThread())
100 return false; 99 return false;
101 } 100 }
102 return m_data.isSafeToSendToAnotherThread(); 101 return m_data.isSafeToSendToAnotherThread();
103 } 102 }
104 103
105 } 104 }
OLDNEW
« no previous file with comments | « Source/core/html/parser/CSSPreloadScanner.cpp ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698