| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 clipper(PaintLayer::DoNotUseGeometryMapper) | 413 clipper(PaintLayer::DoNotUseGeometryMapper) |
| 414 .clearClipRectsIncludingDescendants(AbsoluteClipRects); | 414 .clearClipRectsIncludingDescendants(AbsoluteClipRects); |
| 415 } | 415 } |
| 416 | 416 |
| 417 updateTransformationMatrix(); | 417 updateTransformationMatrix(); |
| 418 | 418 |
| 419 if (had3DTransform != has3DTransform()) | 419 if (had3DTransform != has3DTransform()) |
| 420 markAncestorChainForDescendantDependentFlagsUpdate(); | 420 markAncestorChainForDescendantDependentFlagsUpdate(); |
| 421 | 421 |
| 422 if (FrameView* frameView = layoutObject().document().view()) | 422 if (FrameView* frameView = layoutObject().document().view()) |
| 423 frameView->setNeedsUpdateWidgetGeometries(); | 423 frameView->setNeedsUpdateGeometries(); |
| 424 } | 424 } |
| 425 | 425 |
| 426 static PaintLayer* enclosingLayerForContainingBlock(PaintLayer* layer) { | 426 static PaintLayer* enclosingLayerForContainingBlock(PaintLayer* layer) { |
| 427 if (LayoutObject* containingBlock = layer->layoutObject().containingBlock()) | 427 if (LayoutObject* containingBlock = layer->layoutObject().containingBlock()) |
| 428 return containingBlock->enclosingLayer(); | 428 return containingBlock->enclosingLayer(); |
| 429 return 0; | 429 return 0; |
| 430 } | 430 } |
| 431 | 431 |
| 432 static const PaintLayer* enclosingLayerForContainingBlock( | 432 static const PaintLayer* enclosingLayerForContainingBlock( |
| 433 const PaintLayer* layer) { | 433 const PaintLayer* layer) { |
| (...skipping 2793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3227 } | 3227 } |
| 3228 | 3228 |
| 3229 void showLayerTree(const blink::LayoutObject* layoutObject) { | 3229 void showLayerTree(const blink::LayoutObject* layoutObject) { |
| 3230 if (!layoutObject) { | 3230 if (!layoutObject) { |
| 3231 LOG(INFO) << "Cannot showLayerTree. Root is (nil)"; | 3231 LOG(INFO) << "Cannot showLayerTree. Root is (nil)"; |
| 3232 return; | 3232 return; |
| 3233 } | 3233 } |
| 3234 showLayerTree(layoutObject->enclosingLayer()); | 3234 showLayerTree(layoutObject->enclosingLayer()); |
| 3235 } | 3235 } |
| 3236 #endif | 3236 #endif |
| OLD | NEW |