| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
| (...skipping 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1698 root = host; | 1698 root = host; |
| 1699 while (Node* ancestor = root->parentOrShadowHostNode()) | 1699 while (Node* ancestor = root->parentOrShadowHostNode()) |
| 1700 root = ancestor; | 1700 root = ancestor; |
| 1701 if (root->childNeedsDistributionRecalc()) | 1701 if (root->childNeedsDistributionRecalc()) |
| 1702 root->recalcDistribution(); | 1702 root->recalcDistribution(); |
| 1703 } | 1703 } |
| 1704 | 1704 |
| 1705 void Document::setupFontBuilder(RenderStyle* documentStyle) | 1705 void Document::setupFontBuilder(RenderStyle* documentStyle) |
| 1706 { | 1706 { |
| 1707 FontBuilder fontBuilder; | 1707 FontBuilder fontBuilder; |
| 1708 fontBuilder.initForStyleResolve(*this, documentStyle, isSVGDocument()); | 1708 fontBuilder.initForStyleResolve(*this, documentStyle); |
| 1709 RefPtrWillBeRawPtr<CSSFontSelector> selector = m_styleEngine->fontSelector()
; | 1709 RefPtrWillBeRawPtr<CSSFontSelector> selector = m_styleEngine->fontSelector()
; |
| 1710 fontBuilder.createFontForDocument(selector, documentStyle); | 1710 fontBuilder.createFontForDocument(selector, documentStyle); |
| 1711 } | 1711 } |
| 1712 | 1712 |
| 1713 void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change) | 1713 void Document::inheritHtmlAndBodyElementStyles(StyleRecalcChange change) |
| 1714 { | 1714 { |
| 1715 ASSERT(inStyleRecalc()); | 1715 ASSERT(inStyleRecalc()); |
| 1716 ASSERT(documentElement()); | 1716 ASSERT(documentElement()); |
| 1717 | 1717 |
| 1718 RefPtr<RenderStyle> documentElementStyle = documentElement()->renderStyle(); | 1718 RefPtr<RenderStyle> documentElementStyle = documentElement()->renderStyle(); |
| (...skipping 4093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5812 visitor->trace(m_compositorPendingAnimations); | 5812 visitor->trace(m_compositorPendingAnimations); |
| 5813 visitor->trace(m_contextDocument); | 5813 visitor->trace(m_contextDocument); |
| 5814 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); | 5814 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); |
| 5815 DocumentSupplementable::trace(visitor); | 5815 DocumentSupplementable::trace(visitor); |
| 5816 TreeScope::trace(visitor); | 5816 TreeScope::trace(visitor); |
| 5817 ContainerNode::trace(visitor); | 5817 ContainerNode::trace(visitor); |
| 5818 ExecutionContext::trace(visitor); | 5818 ExecutionContext::trace(visitor); |
| 5819 } | 5819 } |
| 5820 | 5820 |
| 5821 } // namespace WebCore | 5821 } // namespace WebCore |
| OLD | NEW |