| 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) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 7 * Copyright (C) 2010, 2012 Google Inc. All rights reserved. | 7 * Copyright (C) 2010, 2012 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 // to marking entire layers instead. This may sometimes mark more th
an necessary (when | 195 // to marking entire layers instead. This may sometimes mark more th
an necessary (when |
| 196 // a layer is made of disjoint objects) but in practice is a signifi
cant performance | 196 // a layer is made of disjoint objects) but in practice is a signifi
cant performance |
| 197 // savings. | 197 // savings. |
| 198 layer()->addLayerHitTestRects(rects); | 198 layer()->addLayerHitTestRects(rects); |
| 199 } | 199 } |
| 200 } else { | 200 } else { |
| 201 RenderObject::addLayerHitTestRects(rects, currentLayer, layerOffset, con
tainerRect); | 201 RenderObject::addLayerHitTestRects(rects, currentLayer, layerOffset, con
tainerRect); |
| 202 } | 202 } |
| 203 } | 203 } |
| 204 | 204 |
| 205 CompositedLayerMapping* RenderLayerModelObject::compositedLayerMapping() const | 205 CompositedLayerMappingPtr RenderLayerModelObject::compositedLayerMapping() const |
| 206 { | 206 { |
| 207 return m_layer ? m_layer->compositedLayerMapping() : 0; | 207 return m_layer ? m_layer->compositedLayerMapping() : 0; |
| 208 } | 208 } |
| 209 | 209 |
| 210 bool RenderLayerModelObject::hasCompositedLayerMapping() const |
| 211 { |
| 212 return m_layer ? m_layer->hasCompositedLayerMapping() : false; |
| 213 } |
| 214 |
| 210 } // namespace WebCore | 215 } // namespace WebCore |
| 211 | 216 |
| OLD | NEW |