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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 m_reflection->setStyle(newStyle.release()); | 129 m_reflection->setStyle(newStyle.release()); |
130 } | 130 } |
131 | 131 |
132 void PaintLayerReflectionInfo::paint(GraphicsContext* context, const PaintLayerP
aintingInfo& paintingInfo, PaintLayerFlags flags) | 132 void PaintLayerReflectionInfo::paint(GraphicsContext* context, const PaintLayerP
aintingInfo& paintingInfo, PaintLayerFlags flags) |
133 { | 133 { |
134 if (m_isPaintingInsideReflection) | 134 if (m_isPaintingInsideReflection) |
135 return; | 135 return; |
136 | 136 |
137 // Mark that we are now inside replica painting. | 137 // Mark that we are now inside replica painting. |
138 m_isPaintingInsideReflection = true; | 138 m_isPaintingInsideReflection = true; |
139 PaintLayerPainter(*reflectionLayer()).paintLayer(context, paintingInfo, flag
s); | 139 PaintLayerPainter(*reflectionLayer()).paintLayer(context, paintingInfo, flag
s | PaintLayerPaintingReflection); |
140 m_isPaintingInsideReflection = false; | 140 m_isPaintingInsideReflection = false; |
141 } | 141 } |
142 | 142 |
143 } // namespace blink | 143 } // namespace blink |
OLD | NEW |