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

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

Issue 953693002: InlinedVisitor: Migrate css to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 return false; 125 return false;
126 } 126 }
127 127
128 bool MediaQueryList::matches() 128 bool MediaQueryList::matches()
129 { 129 {
130 updateMatches(); 130 updateMatches();
131 return m_matches; 131 return m_matches;
132 } 132 }
133 133
134 void MediaQueryList::trace(Visitor* visitor) 134 DEFINE_TRACE(MediaQueryList)
135 { 135 {
136 #if ENABLE(OILPAN) 136 #if ENABLE(OILPAN)
137 visitor->trace(m_matcher); 137 visitor->trace(m_matcher);
138 visitor->trace(m_media); 138 visitor->trace(m_media);
139 visitor->trace(m_listeners); 139 visitor->trace(m_listeners);
140 #endif 140 #endif
141 EventTargetWithInlineData::trace(visitor); 141 EventTargetWithInlineData::trace(visitor);
142 ActiveDOMObject::trace(visitor); 142 ActiveDOMObject::trace(visitor);
143 } 143 }
144 144
145 const AtomicString& MediaQueryList::interfaceName() const 145 const AtomicString& MediaQueryList::interfaceName() const
146 { 146 {
147 return EventTargetNames::MediaQueryList; 147 return EventTargetNames::MediaQueryList;
148 } 148 }
149 149
150 ExecutionContext* MediaQueryList::executionContext() const 150 ExecutionContext* MediaQueryList::executionContext() const
151 { 151 {
152 return ActiveDOMObject::executionContext(); 152 return ActiveDOMObject::executionContext();
153 } 153 }
154 154
155 } 155 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698