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

Side by Side Diff: Source/core/css/resolver/MatchResult.h

Issue 424983002: Stop using WebCore namespace in generated code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/css/CSSGrammar.y ('k') | Source/core/editing/EditingBehaviorTypes.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 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 union { 66 union {
67 struct { 67 struct {
68 unsigned linkMatchType : 2; 68 unsigned linkMatchType : 2;
69 unsigned whitelistType : 2; 69 unsigned whitelistType : 2;
70 } m_types; 70 } m_types;
71 // Used to make sure all memory is zero-initialized since we compute the hash over the bytes of this object. 71 // Used to make sure all memory is zero-initialized since we compute the hash over the bytes of this object.
72 void* possiblyPaddedMember; 72 void* possiblyPaddedMember;
73 }; 73 };
74 }; 74 };
75 75
76 } // WebCore namespace 76 } // namespace blink
77 77
78 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedProperties); 78 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedProperties);
79 79
80 namespace blink { 80 namespace blink {
81 81
82 class MatchResult { 82 class MatchResult {
83 STACK_ALLOCATED(); 83 STACK_ALLOCATED();
84 public: 84 public:
85 MatchResult() : isCacheable(true) { } 85 MatchResult() : isCacheable(true) { }
86 WillBeHeapVector<MatchedProperties, 64> matchedProperties; 86 WillBeHeapVector<MatchedProperties, 64> matchedProperties;
(...skipping 25 matching lines...) Expand all
112 } 112 }
113 113
114 inline bool operator!=(const MatchedProperties& a, const MatchedProperties& b) 114 inline bool operator!=(const MatchedProperties& a, const MatchedProperties& b)
115 { 115 {
116 return !(a == b); 116 return !(a == b);
117 } 117 }
118 118
119 } // namespace blink 119 } // namespace blink
120 120
121 #endif // MatchResult_h 121 #endif // MatchResult_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSGrammar.y ('k') | Source/core/editing/EditingBehaviorTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698