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

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

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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 10 matching lines...) Expand all
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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"
32 31
33 namespace WebCore { 32 namespace WebCore {
34 33
35 struct SameSizeAsCompactHTMLToken { 34 struct SameSizeAsCompactHTMLToken {
36 unsigned bitfields; 35 unsigned bitfields;
37 HTMLIdentifier data; 36 HTMLIdentifier data;
38 Vector<Attribute> vector; 37 Vector<Attribute> vector;
39 TextPosition textPosition; 38 TextPosition textPosition;
40 }; 39 };
41 40
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 for (Vector<Attribute>::const_iterator it = m_attributes.begin(); it != m_at tributes.end(); ++it) { 94 for (Vector<Attribute>::const_iterator it = m_attributes.begin(); it != m_at tributes.end(); ++it) {
96 if (!it->name.isSafeToSendToAnotherThread()) 95 if (!it->name.isSafeToSendToAnotherThread())
97 return false; 96 return false;
98 if (!it->value.isSafeToSendToAnotherThread()) 97 if (!it->value.isSafeToSendToAnotherThread())
99 return false; 98 return false;
100 } 99 }
101 return m_data.isSafeToSendToAnotherThread(); 100 return m_data.isSafeToSendToAnotherThread();
102 } 101 }
103 102
104 } 103 }
OLDNEW
« no previous file with comments | « Source/core/html/parser/BackgroundHTMLParser.cpp ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698