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) |
382 visitor->trace(idRules); | 383 visitor->trace(idRules); |
383 visitor->trace(classRules); | 384 visitor->trace(classRules); |
384 visitor->trace(tagRules); | 385 visitor->trace(tagRules); |
385 visitor->trace(shadowPseudoElementRules); | 386 visitor->trace(shadowPseudoElementRules); |
| 387 #endif |
386 } | 388 } |
387 | 389 |
388 void RuleSet::trace(Visitor* visitor) | 390 void RuleSet::trace(Visitor* visitor) |
389 { | 391 { |
390 #if ENABLE(OILPAN) | 392 #if ENABLE(OILPAN) |
391 visitor->trace(m_idRules); | 393 visitor->trace(m_idRules); |
392 visitor->trace(m_classRules); | 394 visitor->trace(m_classRules); |
393 visitor->trace(m_tagRules); | 395 visitor->trace(m_tagRules); |
394 visitor->trace(m_shadowPseudoElementRules); | 396 visitor->trace(m_shadowPseudoElementRules); |
395 visitor->trace(m_linkPseudoClassRules); | 397 visitor->trace(m_linkPseudoClassRules); |
(...skipping 17 matching lines...) Expand all Loading... |
413 | 415 |
414 #ifndef NDEBUG | 416 #ifndef NDEBUG |
415 void RuleSet::show() | 417 void RuleSet::show() |
416 { | 418 { |
417 for (WillBeHeapVector<RuleData>::const_iterator it = m_allRules.begin(); it
!= m_allRules.end(); ++it) | 419 for (WillBeHeapVector<RuleData>::const_iterator it = m_allRules.begin(); it
!= m_allRules.end(); ++it) |
418 it->selector().show(); | 420 it->selector().show(); |
419 } | 421 } |
420 #endif | 422 #endif |
421 | 423 |
422 } // namespace blink | 424 } // namespace blink |
OLD | NEW |