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

Side by Side Diff: Source/core/css/CSSSelector.cpp

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 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
« no previous file with comments | « Source/core/css/CSSSelector.h ('k') | Source/core/css/CSSStyleSheet.h » ('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) 1999-2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * 1999 Waldo Bastian (bastian@kde.org) 3 * 1999 Waldo Bastian (bastian@kde.org)
4 * 2001 Andreas Schlapbach (schlpbch@iam.unibe.ch) 4 * 2001 Andreas Schlapbach (schlpbch@iam.unibe.ch)
5 * 2001-2003 Dirk Mueller (mueller@kde.org) 5 * 2001-2003 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2002, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2002, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2008 David Smith (catfish.man@gmail.com) 7 * Copyright (C) 2008 David Smith (catfish.man@gmail.com)
8 * Copyright (C) 2010 Google Inc. All rights reserved. 8 * Copyright (C) 2010 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 12 matching lines...) Expand all
23 * Boston, MA 02110-1301, USA. 23 * Boston, MA 02110-1301, USA.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/css/CSSSelector.h" 27 #include "core/css/CSSSelector.h"
28 28
29 #include "HTMLNames.h" 29 #include "HTMLNames.h"
30 #include "RuntimeEnabledFeatures.h" 30 #include "RuntimeEnabledFeatures.h"
31 #include "core/css/CSSOMUtils.h" 31 #include "core/css/CSSOMUtils.h"
32 #include "core/css/CSSSelectorList.h" 32 #include "core/css/CSSSelectorList.h"
33 #include <wtf/Assertions.h> 33 #include "wtf/Assertions.h"
34 #include <wtf/HashMap.h> 34 #include "wtf/HashMap.h"
35 #include <wtf/StdLibExtras.h> 35 #include "wtf/StdLibExtras.h"
36 #include <wtf/text/StringBuilder.h> 36 #include "wtf/text/StringBuilder.h"
37 #include <wtf/Vector.h>
38 37
39 namespace WebCore { 38 namespace WebCore {
40 39
41 using namespace HTMLNames; 40 using namespace HTMLNames;
42 41
43 struct SameSizeAsCSSSelector { 42 struct SameSizeAsCSSSelector {
44 unsigned bitfields; 43 unsigned bitfields;
45 void *pointers[1]; 44 void *pointers[1];
46 }; 45 };
47 46
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 return false; 805 return false;
807 return (count - m_b) % m_a == 0; 806 return (count - m_b) % m_a == 0;
808 } else { 807 } else {
809 if (count > m_b) 808 if (count > m_b)
810 return false; 809 return false;
811 return (m_b - count) % (-m_a) == 0; 810 return (m_b - count) % (-m_a) == 0;
812 } 811 }
813 } 812 }
814 813
815 } // namespace WebCore 814 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/CSSSelector.h ('k') | Source/core/css/CSSStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698