| 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 | 511 |
| 512 // FIXME: Remove incremental compositing updates after fixing the chicke
n/egg issues | 512 // FIXME: Remove incremental compositing updates after fixing the chicke
n/egg issues |
| 513 // https://code.google.com/p/chromium/issues/detail?id=343756 | 513 // https://code.google.com/p/chromium/issues/detail?id=343756 |
| 514 DisableCompositingQueryAsserts disabler; | 514 DisableCompositingQueryAsserts disabler; |
| 515 // FIXME: We could track the repaint container as we walk down the tree. | 515 // FIXME: We could track the repaint container as we walk down the tree. |
| 516 repainter().computeRepaintRects(renderer()->containerForRepaint(), geome
tryMap); | 516 repainter().computeRepaintRects(renderer()->containerForRepaint(), geome
tryMap); |
| 517 } else { | 517 } else { |
| 518 // Check that RenderLayerRepainter's cached rects are correct. | 518 // Check that RenderLayerRepainter's cached rects are correct. |
| 519 // FIXME: re-enable these assertions when the issue with table cells is
resolved: https://bugs.webkit.org/show_bug.cgi?id=103432 | 519 // FIXME: re-enable these assertions when the issue with table cells is
resolved: https://bugs.webkit.org/show_bug.cgi?id=103432 |
| 520 // ASSERT(repainter().m_repaintRect == renderer()->clippedOverflowRectFo
rRepaint(renderer()->containerForRepaint())); | 520 // ASSERT(repainter().m_repaintRect == renderer()->clippedOverflowRectFo
rRepaint(renderer()->containerForRepaint())); |
| 521 // ASSERT(repainter().m_outlineBox == renderer()->outlineBoundsForRepain
t(renderer()->containerForRepaint(), geometryMap)); | |
| 522 } | 521 } |
| 523 | 522 |
| 524 for (RenderLayer* child = firstChild(); child; child = child->nextSibling()) | 523 for (RenderLayer* child = firstChild(); child; child = child->nextSibling()) |
| 525 child->updateLayerPositionsAfterScroll(geometryMap, flags); | 524 child->updateLayerPositionsAfterScroll(geometryMap, flags); |
| 526 | 525 |
| 527 // We don't update our reflection as scrolling is a translation which does n
ot change the size() | 526 // We don't update our reflection as scrolling is a translation which does n
ot change the size() |
| 528 // of an object, thus RenderReplica will still repaint itself properly as th
e layer position was | 527 // of an object, thus RenderReplica will still repaint itself properly as th
e layer position was |
| 529 // updated above. | 528 // updated above. |
| 530 | 529 |
| 531 if (geometryMap) | 530 if (geometryMap) |
| (...skipping 3643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4175 } | 4174 } |
| 4176 } | 4175 } |
| 4177 | 4176 |
| 4178 void showLayerTree(const WebCore::RenderObject* renderer) | 4177 void showLayerTree(const WebCore::RenderObject* renderer) |
| 4179 { | 4178 { |
| 4180 if (!renderer) | 4179 if (!renderer) |
| 4181 return; | 4180 return; |
| 4182 showLayerTree(renderer->enclosingLayer()); | 4181 showLayerTree(renderer->enclosingLayer()); |
| 4183 } | 4182 } |
| 4184 #endif | 4183 #endif |
| OLD | NEW |