| 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 // PaintLayers with transforms act as clip rects roots, so clear the cac
hed clip rects here. | 413 // PaintLayers with transforms act as clip rects roots, so clear the cac
hed clip rects here. |
| 414 clipper().clearClipRectsIncludingDescendants(); | 414 clipper().clearClipRectsIncludingDescendants(); |
| 415 } else if (hasTransform) { | 415 } else if (hasTransform) { |
| 416 clipper().clearClipRectsIncludingDescendants(AbsoluteClipRects); | 416 clipper().clearClipRectsIncludingDescendants(AbsoluteClipRects); |
| 417 } | 417 } |
| 418 | 418 |
| 419 updateTransformationMatrix(); | 419 updateTransformationMatrix(); |
| 420 | 420 |
| 421 if (had3DTransform != has3DTransform()) | 421 if (had3DTransform != has3DTransform()) |
| 422 dirty3DTransformedDescendantStatus(); | 422 dirty3DTransformedDescendantStatus(); |
| 423 |
| 424 if (FrameView* frameView = layoutObject()->document().view()) |
| 425 frameView->setNeedsUpdateWidgetGeometries(); |
| 423 } | 426 } |
| 424 | 427 |
| 425 static PaintLayer* enclosingLayerForContainingBlock(PaintLayer* layer) | 428 static PaintLayer* enclosingLayerForContainingBlock(PaintLayer* layer) |
| 426 { | 429 { |
| 427 if (LayoutObject* containingBlock = layer->layoutObject()->containingBlock()
) | 430 if (LayoutObject* containingBlock = layer->layoutObject()->containingBlock()
) |
| 428 return containingBlock->enclosingLayer(); | 431 return containingBlock->enclosingLayer(); |
| 429 return 0; | 432 return 0; |
| 430 } | 433 } |
| 431 | 434 |
| 432 static const PaintLayer* enclosingLayerForContainingBlock(const PaintLayer* laye
r) | 435 static const PaintLayer* enclosingLayerForContainingBlock(const PaintLayer* laye
r) |
| (...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2902 | 2905 |
| 2903 void showLayerTree(const blink::LayoutObject* layoutObject) | 2906 void showLayerTree(const blink::LayoutObject* layoutObject) |
| 2904 { | 2907 { |
| 2905 if (!layoutObject) { | 2908 if (!layoutObject) { |
| 2906 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 2909 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
| 2907 return; | 2910 return; |
| 2908 } | 2911 } |
| 2909 showLayerTree(layoutObject->enclosingLayer()); | 2912 showLayerTree(layoutObject->enclosingLayer()); |
| 2910 } | 2913 } |
| 2911 #endif | 2914 #endif |
| OLD | NEW |