| 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 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 | 994 |
| 995 bool StyleResolver::mediaQueryAffectedByViewportChange() const | 995 bool StyleResolver::mediaQueryAffectedByViewportChange() const |
| 996 { | 996 { |
| 997 for (unsigned i = 0; i < m_viewportDependentMediaQueryResults.size(); ++i) { | 997 for (unsigned i = 0; i < m_viewportDependentMediaQueryResults.size(); ++i) { |
| 998 if (m_medium->eval(m_viewportDependentMediaQueryResults[i]->expression()
) != m_viewportDependentMediaQueryResults[i]->result()) | 998 if (m_medium->eval(m_viewportDependentMediaQueryResults[i]->expression()
) != m_viewportDependentMediaQueryResults[i]->result()) |
| 999 return true; | 999 return true; |
| 1000 } | 1000 } |
| 1001 return false; | 1001 return false; |
| 1002 } | 1002 } |
| 1003 | 1003 |
| 1004 void StyleResolver::trace(Visitor* visitor) | |
| 1005 { | |
| 1006 #if ENABLE(OILPAN) | |
| 1007 visitor->trace(m_keyframesRuleMap); | |
| 1008 visitor->trace(m_matchedPropertiesCache); | |
| 1009 visitor->trace(m_viewportDependentMediaQueryResults); | |
| 1010 visitor->trace(m_features); | |
| 1011 visitor->trace(m_attributeRuleSet); | |
| 1012 visitor->trace(m_styleSharingLists); | |
| 1013 visitor->trace(m_pendingStyleSheets); | |
| 1014 visitor->trace(m_document); | |
| 1015 #endif | |
| 1016 } | |
| 1017 | |
| 1018 } // namespace blink | 1004 } // namespace blink |
| OLD | NEW |