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 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 1806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1817 void Element::setNeedsCompositingUpdate() | 1817 void Element::setNeedsCompositingUpdate() |
1818 { | 1818 { |
1819 if (!document().isActive()) | 1819 if (!document().isActive()) |
1820 return; | 1820 return; |
1821 LayoutBoxModelObject* layoutObject = layoutBoxModelObject(); | 1821 LayoutBoxModelObject* layoutObject = layoutBoxModelObject(); |
1822 if (!layoutObject) | 1822 if (!layoutObject) |
1823 return; | 1823 return; |
1824 if (!layoutObject->hasLayer()) | 1824 if (!layoutObject->hasLayer()) |
1825 return; | 1825 return; |
1826 layoutObject->layer()->setNeedsCompositingInputsUpdate(); | 1826 layoutObject->layer()->setNeedsCompositingInputsUpdate(); |
| 1827 // Changes in the return value of requiresAcceleratedCompositing change if |
| 1828 // the DeprecatedPaintLayer is self-painting. |
| 1829 layoutObject->layer()->updateSelfPaintingLayer(); |
1827 } | 1830 } |
1828 | 1831 |
1829 void Element::setCustomElementDefinition(PassRefPtrWillBeRawPtr<CustomElementDef
inition> definition) | 1832 void Element::setCustomElementDefinition(PassRefPtrWillBeRawPtr<CustomElementDef
inition> definition) |
1830 { | 1833 { |
1831 if (!hasRareData() && !definition) | 1834 if (!hasRareData() && !definition) |
1832 return; | 1835 return; |
1833 ASSERT(!customElementDefinition()); | 1836 ASSERT(!customElementDefinition()); |
1834 ensureElementRareData().setCustomElementDefinition(definition); | 1837 ensureElementRareData().setCustomElementDefinition(definition); |
1835 } | 1838 } |
1836 | 1839 |
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3498 { | 3501 { |
3499 #if ENABLE(OILPAN) | 3502 #if ENABLE(OILPAN) |
3500 if (hasRareData()) | 3503 if (hasRareData()) |
3501 visitor->trace(elementRareData()); | 3504 visitor->trace(elementRareData()); |
3502 visitor->trace(m_elementData); | 3505 visitor->trace(m_elementData); |
3503 #endif | 3506 #endif |
3504 ContainerNode::trace(visitor); | 3507 ContainerNode::trace(visitor); |
3505 } | 3508 } |
3506 | 3509 |
3507 } // namespace blink | 3510 } // namespace blink |
OLD | NEW |