| 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 29 matching lines...) Expand all Loading... |
| 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/rendering/RenderLayerBlendInfo.h" | 45 #include "core/rendering/RenderLayerBlendInfo.h" |
| 46 | 46 |
| 47 #include "core/rendering/RenderLayer.h" | 47 #include "core/rendering/RenderLayer.h" |
| 48 #include "core/rendering/RenderLayerModelObject.h" | 48 #include "core/rendering/RenderLayerModelObject.h" |
| 49 #include "core/rendering/compositing/CompositedLayerMapping.h" | 49 #include "core/rendering/compositing/CompositedLayerMapping.h" |
| 50 #include "platform/RuntimeEnabledFeatures.h" |
| 50 | 51 |
| 51 namespace WebCore { | 52 namespace WebCore { |
| 52 | 53 |
| 53 RenderLayerBlendInfo::RenderLayerBlendInfo(RenderLayerModelObject& renderer) | 54 RenderLayerBlendInfo::RenderLayerBlendInfo(RenderLayerModelObject& renderer) |
| 54 : m_renderer(renderer) | 55 : m_renderer(renderer) |
| 55 , m_blendMode(blink::WebBlendModeNormal) | 56 , m_blendMode(blink::WebBlendModeNormal) |
| 56 , m_childLayerHasBlendMode(false) | 57 , m_childLayerHasBlendMode(false) |
| 57 , m_childLayerHasBlendModeStatusDirty(false) | 58 , m_childLayerHasBlendModeStatusDirty(false) |
| 58 { | 59 { |
| 59 } | 60 } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 106 |
| 106 layer->blendInfo().setChildLayerHasBlendMode(true); | 107 layer->blendInfo().setChildLayerHasBlendMode(true); |
| 107 layer->blendInfo().setChildLayerHasBlendModeStatusDirty(false); | 108 layer->blendInfo().setChildLayerHasBlendModeStatusDirty(false); |
| 108 | 109 |
| 109 if (layer->stackingNode()->isStackingContext()) | 110 if (layer->stackingNode()->isStackingContext()) |
| 110 break; | 111 break; |
| 111 } | 112 } |
| 112 } | 113 } |
| 113 | 114 |
| 114 } // namespace WebCore | 115 } // namespace WebCore |
| OLD | NEW |