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 28 matching lines...) Expand all Loading... |
39 * other provisions required by the MPL or the GPL, as the case may be. | 39 * other provisions required by the MPL or the GPL, as the case may be. |
40 * If you do not delete the provisions above, a recipient may use your | 40 * If you do not delete the provisions above, a recipient may use your |
41 * version of this file under any of the LGPL, the MPL or the GPL. | 41 * version of this file under any of the LGPL, the MPL or the GPL. |
42 */ | 42 */ |
43 | 43 |
44 #include "config.h" | 44 #include "config.h" |
45 #include "core/paint/DeprecatedPaintLayerReflectionInfo.h" | 45 #include "core/paint/DeprecatedPaintLayerReflectionInfo.h" |
46 | 46 |
47 #include "core/frame/UseCounter.h" | 47 #include "core/frame/UseCounter.h" |
48 #include "core/layout/LayoutReplica.h" | 48 #include "core/layout/LayoutReplica.h" |
49 #include "core/layout/style/ComputedStyle.h" | 49 #include "core/style/ComputedStyle.h" |
50 #include "core/paint/DeprecatedPaintLayer.h" | 50 #include "core/paint/DeprecatedPaintLayer.h" |
51 #include "core/paint/DeprecatedPaintLayerPainter.h" | 51 #include "core/paint/DeprecatedPaintLayerPainter.h" |
52 #include "platform/transforms/ScaleTransformOperation.h" | 52 #include "platform/transforms/ScaleTransformOperation.h" |
53 #include "platform/transforms/TranslateTransformOperation.h" | 53 #include "platform/transforms/TranslateTransformOperation.h" |
54 | 54 |
55 #include "wtf/RefPtr.h" | 55 #include "wtf/RefPtr.h" |
56 | 56 |
57 namespace blink { | 57 namespace blink { |
58 | 58 |
59 DeprecatedPaintLayerReflectionInfo::DeprecatedPaintLayerReflectionInfo(LayoutBox
& renderer) | 59 DeprecatedPaintLayerReflectionInfo::DeprecatedPaintLayerReflectionInfo(LayoutBox
& renderer) |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 DeprecatedPaintLayerPainter(*reflectionLayer()).paintLayer(context, painting
Info, flags); | 139 DeprecatedPaintLayerPainter(*reflectionLayer()).paintLayer(context, painting
Info, flags); |
140 m_isPaintingInsideReflection = false; | 140 m_isPaintingInsideReflection = false; |
141 } | 141 } |
142 | 142 |
143 } // namespace blink | 143 } // namespace blink |
OLD | NEW |