OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 RenderLayer* RenderLayerRepainter::enclosingFilterRepaintLayer() const | 178 RenderLayer* RenderLayerRepainter::enclosingFilterRepaintLayer() const |
179 { | 179 { |
180 for (const RenderLayer* curr = m_renderer.layer(); curr; curr = curr->parent
()) { | 180 for (const RenderLayer* curr = m_renderer.layer(); curr; curr = curr->parent
()) { |
181 if ((curr != m_renderer.layer() && curr->requiresFullLayerImageForFilter
s()) || curr->compositingState() == PaintsIntoOwnBacking || curr->isRootLayer()) | 181 if ((curr != m_renderer.layer() && curr->requiresFullLayerImageForFilter
s()) || curr->compositingState() == PaintsIntoOwnBacking || curr->isRootLayer()) |
182 return const_cast<RenderLayer*>(curr); | 182 return const_cast<RenderLayer*>(curr); |
183 } | 183 } |
184 return 0; | 184 return 0; |
185 } | 185 } |
186 | 186 |
187 } // Namespace WebCore | 187 } // namespace blink |
OLD | NEW |