OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) | 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) |
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) | 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) |
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r
ights reserved. |
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. | 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 visitor->trace(m_rule); | 372 visitor->trace(m_rule); |
373 } | 373 } |
374 | 374 |
375 void RuleData::trace(Visitor* visitor) | 375 void RuleData::trace(Visitor* visitor) |
376 { | 376 { |
377 visitor->trace(m_rule); | 377 visitor->trace(m_rule); |
378 } | 378 } |
379 | 379 |
380 void RuleSet::PendingRuleMaps::trace(Visitor* visitor) | 380 void RuleSet::PendingRuleMaps::trace(Visitor* visitor) |
381 { | 381 { |
382 #if ENABLE(OILPAN) | |
383 visitor->trace(idRules); | 382 visitor->trace(idRules); |
384 visitor->trace(classRules); | 383 visitor->trace(classRules); |
385 visitor->trace(tagRules); | 384 visitor->trace(tagRules); |
386 visitor->trace(shadowPseudoElementRules); | 385 visitor->trace(shadowPseudoElementRules); |
387 #endif | |
388 } | 386 } |
389 | 387 |
390 void RuleSet::trace(Visitor* visitor) | 388 void RuleSet::trace(Visitor* visitor) |
391 { | 389 { |
392 #if ENABLE(OILPAN) | 390 #if ENABLE(OILPAN) |
393 visitor->trace(m_idRules); | 391 visitor->trace(m_idRules); |
394 visitor->trace(m_classRules); | 392 visitor->trace(m_classRules); |
395 visitor->trace(m_tagRules); | 393 visitor->trace(m_tagRules); |
396 visitor->trace(m_shadowPseudoElementRules); | 394 visitor->trace(m_shadowPseudoElementRules); |
397 visitor->trace(m_linkPseudoClassRules); | 395 visitor->trace(m_linkPseudoClassRules); |
(...skipping 17 matching lines...) Expand all Loading... |
415 | 413 |
416 #ifndef NDEBUG | 414 #ifndef NDEBUG |
417 void RuleSet::show() | 415 void RuleSet::show() |
418 { | 416 { |
419 for (WillBeHeapVector<RuleData>::const_iterator it = m_allRules.begin(); it
!= m_allRules.end(); ++it) | 417 for (WillBeHeapVector<RuleData>::const_iterator it = m_allRules.begin(); it
!= m_allRules.end(); ++it) |
420 it->selector().show(); | 418 it->selector().show(); |
421 } | 419 } |
422 #endif | 420 #endif |
423 | 421 |
424 } // namespace blink | 422 } // namespace blink |
OLD | NEW |