| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 310 |
| 311 RenderLayer* RenderLayerClipper::clippingRootForPainting() const | 311 RenderLayer* RenderLayerClipper::clippingRootForPainting() const |
| 312 { | 312 { |
| 313 const RenderLayer* current = m_renderer.layer(); | 313 const RenderLayer* current = m_renderer.layer(); |
| 314 while (current) { | 314 while (current) { |
| 315 if (current->isRootLayer()) | 315 if (current->isRootLayer()) |
| 316 return const_cast<RenderLayer*>(current); | 316 return const_cast<RenderLayer*>(current); |
| 317 | 317 |
| 318 current = current->compositingContainer(); | 318 current = current->compositingContainer(); |
| 319 ASSERT(current); | 319 ASSERT(current); |
| 320 if (current->transform()) | 320 if (current->renderer()->transform()) |
| 321 return const_cast<RenderLayer*>(current); | 321 return const_cast<RenderLayer*>(current); |
| 322 } | 322 } |
| 323 | 323 |
| 324 ASSERT_NOT_REACHED(); | 324 ASSERT_NOT_REACHED(); |
| 325 return 0; | 325 return 0; |
| 326 } | 326 } |
| 327 | 327 |
| 328 } // namespace blink | 328 } // namespace blink |
| OLD | NEW |