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, 2013 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc.
All rights 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 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1494 | 1494 |
1495 bool StyleResolver::mediaQueryAffectedByViewportChange() const | 1495 bool StyleResolver::mediaQueryAffectedByViewportChange() const |
1496 { | 1496 { |
1497 for (unsigned i = 0; i < m_viewportDependentMediaQueryResults.size(); ++i) { | 1497 for (unsigned i = 0; i < m_viewportDependentMediaQueryResults.size(); ++i) { |
1498 if (m_medium->eval(m_viewportDependentMediaQueryResults[i]->expression()
) != m_viewportDependentMediaQueryResults[i]->result()) | 1498 if (m_medium->eval(m_viewportDependentMediaQueryResults[i]->expression()
) != m_viewportDependentMediaQueryResults[i]->result()) |
1499 return true; | 1499 return true; |
1500 } | 1500 } |
1501 return false; | 1501 return false; |
1502 } | 1502 } |
1503 | 1503 |
1504 void StyleResolver::trace(Visitor* visitor) | 1504 DEFINE_TRACE(StyleResolver) |
1505 { | 1505 { |
1506 #if ENABLE(OILPAN) | 1506 #if ENABLE(OILPAN) |
1507 visitor->trace(m_matchedPropertiesCache); | 1507 visitor->trace(m_matchedPropertiesCache); |
1508 visitor->trace(m_viewportDependentMediaQueryResults); | 1508 visitor->trace(m_viewportDependentMediaQueryResults); |
1509 visitor->trace(m_selectorFilter); | 1509 visitor->trace(m_selectorFilter); |
1510 visitor->trace(m_viewportStyleResolver); | 1510 visitor->trace(m_viewportStyleResolver); |
1511 visitor->trace(m_features); | 1511 visitor->trace(m_features); |
1512 visitor->trace(m_siblingRuleSet); | 1512 visitor->trace(m_siblingRuleSet); |
1513 visitor->trace(m_uncommonAttributeRuleSet); | 1513 visitor->trace(m_uncommonAttributeRuleSet); |
1514 visitor->trace(m_watchedSelectorsRules); | 1514 visitor->trace(m_watchedSelectorsRules); |
1515 visitor->trace(m_treeBoundaryCrossingRules); | 1515 visitor->trace(m_treeBoundaryCrossingRules); |
1516 visitor->trace(m_styleSharingLists); | 1516 visitor->trace(m_styleSharingLists); |
1517 visitor->trace(m_pendingStyleSheets); | 1517 visitor->trace(m_pendingStyleSheets); |
1518 visitor->trace(m_document); | 1518 visitor->trace(m_document); |
1519 #endif | 1519 #endif |
1520 } | 1520 } |
1521 | 1521 |
1522 } // namespace blink | 1522 } // namespace blink |
OLD | NEW |